Struct style::logical_geometry::LogicalRect [] [src]

pub struct LogicalRect<T> {
    pub start: LogicalPoint<T>,
    pub size: LogicalSize<T>,
    // some fields omitted
}

A rectangle in flow-relative dimensions

Fields

Methods

impl<T: Zero> LogicalRect<T>
[src]

[src]

impl<T: Copy> LogicalRect<T>
[src]

[src]

[src]

impl<T: Copy + Add<T, Output = T> + Sub<T, Output = T>> LogicalRect<T>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl<T: Copy + Ord + Add<T, Output = T> + Sub<T, Output = T>> LogicalRect<T>
[src]

[src]

Trait Implementations

impl<T: Clone> Clone for LogicalRect<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for LogicalRect<T>
[src]

impl<T: Eq> Eq for LogicalRect<T>
[src]

impl<T: PartialEq> PartialEq for LogicalRect<T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T: Debug> Debug for LogicalRect<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Copy + Add<T, Output = T> + Sub<T, Output = T>> Add<LogicalMargin<T>> for LogicalRect<T>
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<T: Copy + Add<T, Output = T> + Sub<T, Output = T>> Sub<LogicalMargin<T>> for LogicalRect<T>
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.