#[non_exhaustive]pub struct Entity {
pub common: Common,
pub kind: Kind,
}Expand description
an entity: what all have, and its kind’s geometry
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.common: Common§kind: KindTrait Implementations§
impl StructuralPartialEq for Entity
Auto Trait Implementations§
impl Forget for Entity
impl Freeze for Entitywhere
*const u8 is !null: Freeze,
PhantomData<f64>: Freeze,
PhantomData<[f64; 3]>: Freeze,
PhantomData<Vertex>: Freeze,
PhantomData<[i32; 4]>: Freeze,
PhantomData<u8>: Freeze,
*const MText is !null: Freeze,
PhantomData<MText>: Freeze,
PhantomData<Entity>: Freeze,
PhantomData<Path>: Freeze,
PhantomData<PatternLine>: Freeze,
PhantomData<Color>: Freeze,
PhantomData<[f64; 2]>: Freeze,
impl Move for Entity
impl RefUnwindSafe for Entity
impl Send for Entity
impl Sync for Entity
impl Unpin for Entity
impl UnsafeUnpin for Entitywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
PhantomData<[f64; 3]>: UnsafeUnpin,
PhantomData<Vertex>: UnsafeUnpin,
PhantomData<[i32; 4]>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const MText is !null: UnsafeUnpin,
PhantomData<MText>: UnsafeUnpin,
PhantomData<Entity>: UnsafeUnpin,
PhantomData<Path>: UnsafeUnpin,
PhantomData<PatternLine>: UnsafeUnpin,
PhantomData<Color>: UnsafeUnpin,
PhantomData<[f64; 2]>: UnsafeUnpin,
impl UnwindSafe for Entity
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