pub struct SurfaceEntry {
pub leaf: usize,
pub kind: u8,
pub version: u32,
pub document: Vec<u8>,
}Expand description
One painted mask of one leaf.
Fields§
§leaf: usizeThe painted leaf, as an index into the scene’s nodes.
kind: u8What the paint means: 0 detail, 1 supports must touch, 2 supports must not touch. Other values are reserved, and carried as they are.
version: u32The version of the document.
document: Vec<u8>The mask, carried without being read.
Trait Implementations§
Source§impl Clone for SurfaceEntry
impl Clone for SurfaceEntry
Source§impl Debug for SurfaceEntry
impl Debug for SurfaceEntry
Source§impl Default for SurfaceEntry
impl Default for SurfaceEntry
impl Eq for SurfaceEntry
Source§impl PartialEq for SurfaceEntry
impl PartialEq for SurfaceEntry
impl StructuralPartialEq for SurfaceEntry
Auto Trait Implementations§
impl Forget for SurfaceEntry
impl Freeze for SurfaceEntry
impl Move for SurfaceEntry
impl RefUnwindSafe for SurfaceEntry
impl Send for SurfaceEntry
impl Sync for SurfaceEntry
impl Unpin for SurfaceEntry
impl UnsafeUnpin for SurfaceEntry
impl UnwindSafe for SurfaceEntry
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