pub struct RoleEntry {
pub leaf: usize,
pub role: u8,
}Expand description
The role of one leaf that is not a model.
Fields§
§leaf: usizeThe leaf, as an index into the scene’s nodes.
role: u8What the leaf is: ROLE_SUPPORTS or ROLE_RAFT. Other values are
reserved, carried as they are, and mean a model.
Implementations§
Trait Implementations§
impl Copy for RoleEntry
impl Eq for RoleEntry
impl StructuralPartialEq for RoleEntry
Auto Trait Implementations§
impl Forget for RoleEntry
impl Freeze for RoleEntry
impl Move for RoleEntry
impl RefUnwindSafe for RoleEntry
impl Send for RoleEntry
impl Sync for RoleEntry
impl Unpin for RoleEntry
impl UnsafeUnpin for RoleEntry
impl UnwindSafe for RoleEntry
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