#[repr(C)]pub struct LayoutSize {
pub width: isize,
pub height: isize,
}Expand description
Only used for calculations: Size (width, height) in layout space.
Fields§
§width: isize§height: isizeImplementations§
Trait Implementations§
Source§impl Clone for LayoutSize
impl Clone for LayoutSize
Source§fn clone(&self) -> LayoutSize
fn clone(&self) -> LayoutSize
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutSize
impl Debug for LayoutSize
Source§impl Default for LayoutSize
impl Default for LayoutSize
Source§fn default() -> LayoutSize
fn default() -> LayoutSize
Returns the “default value” for a type. Read more
Source§impl Display for LayoutSize
impl Display for LayoutSize
Source§impl Hash for LayoutSize
impl Hash for LayoutSize
Source§impl Ord for LayoutSize
impl Ord for LayoutSize
Source§fn cmp(&self, other: &LayoutSize) -> Ordering
fn cmp(&self, other: &LayoutSize) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayoutSize
impl PartialEq for LayoutSize
Source§impl PartialOrd for LayoutSize
impl PartialOrd for LayoutSize
impl Copy for LayoutSize
impl Eq for LayoutSize
impl StructuralPartialEq for LayoutSize
Auto Trait Implementations§
impl Freeze for LayoutSize
impl RefUnwindSafe for LayoutSize
impl Send for LayoutSize
impl Sync for LayoutSize
impl Unpin for LayoutSize
impl UnwindSafe for LayoutSize
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more