pub struct StaticNatural(pub u16, pub u16);Expand description
Fixed natural size. Use for leaves whose extent is known at layout construction time and doesn’t change between frames.
Tuple Fields§
§0: u16§1: u16Trait Implementations§
Source§impl Clone for StaticNatural
impl Clone for StaticNatural
Source§fn clone(&self) -> StaticNatural
fn clone(&self) -> StaticNatural
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StaticNatural
Source§impl Debug for StaticNatural
impl Debug for StaticNatural
Auto Trait Implementations§
impl Freeze for StaticNatural
impl RefUnwindSafe for StaticNatural
impl Send for StaticNatural
impl Sync for StaticNatural
impl Unpin for StaticNatural
impl UnsafeUnpin for StaticNatural
impl UnwindSafe for StaticNatural
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