Struct yoga::types::Size [−][src]
Fields
width: f32
height: f32
Trait Implementations
impl Debug for Size
[src]
impl Debug for Size
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Size
[src]
impl PartialEq for Size
fn eq(&self, other: &Size) -> bool
[src]
fn eq(&self, other: &Size) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Size) -> bool
[src]
fn ne(&self, other: &Size) -> bool
This method tests for !=
.
impl PartialOrd for Size
[src]
impl PartialOrd for Size
fn partial_cmp(&self, other: &Size) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Size) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Size) -> bool
[src]
fn lt(&self, other: &Size) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Size) -> bool
[src]
fn le(&self, other: &Size) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Size) -> bool
[src]
fn gt(&self, other: &Size) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Size) -> bool
[src]
fn ge(&self, other: &Size) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Copy for Size
[src]
impl Copy for Size
impl Clone for Size
[src]
impl Clone for Size