pub struct Global { /* private fields */ }Expand description
Where a node sits in the world.
Derived, never authored: no public fields, and no way to build one from a
translation and a rotation. Global::IDENTITY is the single exception and
names one value, the world origin — you can say “nowhere in particular”, but
you cannot say where something is. Everything else exists because
propagate wrote it.
Deliberately not Default: a derived Default is a public constructor,
and one silently reachable through every unwrap_or_default in every
consumer, which is exactly how “derived, never authored” would stop being
true without anybody deciding it should.
Implementations§
Trait Implementations§
impl Copy for Global
impl Eq for Global
impl StructuralPartialEq for Global
Auto Trait Implementations§
impl Freeze for Global
impl RefUnwindSafe for Global
impl Send for Global
impl Sync for Global
impl Unpin for Global
impl UnsafeUnpin for Global
impl UnwindSafe for Global
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