pub struct LayoutSize {
pub width: f32,
pub height: f32,
}
Expand description
Only used for calculations: Size (width, height) in layout space.
Fields§
§width: f32
§height: f32
Implementations§
Trait Implementations§
Source§impl Clone for LayoutSize
impl Clone for LayoutSize
Source§fn clone(&self) -> LayoutSize
fn clone(&self) -> LayoutSize
Returns a copy 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 Display for LayoutSize
impl Display for LayoutSize
Source§impl PartialEq for LayoutSize
impl PartialEq for LayoutSize
Source§impl PartialOrd for LayoutSize
impl PartialOrd for LayoutSize
impl Copy 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)