#[repr(C)]pub struct PLYDimension {
pub kind: PLYDimensionKind,
pub value: CGFloat,
}Expand description
An abstract type representing a dimensional unit of measure.
Fields§
§kind: PLYDimensionKindThe unit of this dimension.
value: CGFloatThe value of this dimension.
Trait Implementations§
Source§impl Clone for PLYDimension
impl Clone for PLYDimension
Source§fn clone(&self) -> PLYDimension
fn clone(&self) -> PLYDimension
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 PLYDimension
impl Debug for PLYDimension
impl Copy for PLYDimension
Auto Trait Implementations§
impl Freeze for PLYDimension
impl RefUnwindSafe for PLYDimension
impl Send for PLYDimension
impl Sync for PLYDimension
impl Unpin for PLYDimension
impl UnsafeUnpin for PLYDimension
impl UnwindSafe for PLYDimension
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