Struct style::logical_geometry::LogicalSize [] [src]

pub struct LogicalSize<T> {
    pub inline: T,
    pub block: T,
    // some fields omitted
}

A 2D size in flow-relative dimensions

Fields

Methods

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

[src]

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

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<T: Clone> Clone for LogicalSize<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 LogicalSize<T>
[src]

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

impl<T: PartialEq> PartialEq for LogicalSize<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 LogicalSize<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Add<T, Output = T>> Add for LogicalSize<T>
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<T: Sub<T, Output = T>> Sub for LogicalSize<T>
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<T: Copy + Add<T, Output = T>> Add<LogicalSize<T>> for LogicalPoint<T>
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<T: Copy + Sub<T, Output = T>> Sub<LogicalSize<T>> for LogicalPoint<T>
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.