pub struct PrimitiveInstance {
    pub kind: PrimitiveInstanceKind,
    pub clip_leaf_id: ClipLeafId,
    pub vis: PrimitiveVisibility,
}Fields§
§kind: PrimitiveInstanceKindIdentifies the kind of primitive this instance is, and references to where the relevant information for the primitive can be found.
clip_leaf_id: ClipLeafIdAll information and state related to clip(s) for this primitive
vis: PrimitiveVisibilityInformation related to the current visibility state of this primitive.
Implementations§
Source§impl PrimitiveInstance
 
impl PrimitiveInstance
pub fn new(kind: PrimitiveInstanceKind, clip_leaf_id: ClipLeafId) -> Self
pub fn reset(&mut self)
pub fn clear_visibility(&mut self)
pub fn uid(&self) -> ItemUid
Trait Implementations§
Source§impl Debug for PrimitiveInstance
 
impl Debug for PrimitiveInstance
Auto Trait Implementations§
impl Freeze for PrimitiveInstance
impl RefUnwindSafe for PrimitiveInstance
impl Send for PrimitiveInstance
impl Sync for PrimitiveInstance
impl Unpin for PrimitiveInstance
impl UnwindSafe for PrimitiveInstance
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
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more