pub struct WorldLength(/* private fields */);Expand description
Positive finite distance measured in caller-defined world units.
This type labels scalar distances such as 2D world-space stroke widths and 3D camera near/far ranges. Positions and directions remain vector types.
Implementations§
Trait Implementations§
Source§impl Clone for WorldLength
impl Clone for WorldLength
impl Copy for WorldLength
Source§impl Debug for WorldLength
impl Debug for WorldLength
Source§impl PartialEq for WorldLength
impl PartialEq for WorldLength
Source§impl PartialOrd for WorldLength
impl PartialOrd for WorldLength
impl StructuralPartialEq for WorldLength
Auto Trait Implementations§
impl Freeze for WorldLength
impl RefUnwindSafe for WorldLength
impl Send for WorldLength
impl Sync for WorldLength
impl Unpin for WorldLength
impl UnsafeUnpin for WorldLength
impl UnwindSafe for WorldLength
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