pub struct FactView {
pub name: &'static str,
pub id: U64Split,
pub per_node: bool,
pub node_id: bool,
pub f32x4: bool,
pub u32_val: bool,
pub u8_max: u8,
pub stride: u32,
pub doc: &'static str,
pub bit: u32,
}Expand description
One registered fact, as the templates see it.
Fields§
§name: &'static strSnake-case name (top_layer_states).
id: U64Split§per_node: boolOne element per node slot (else one scalar).
node_id: boolu32 NodeId elements.
f32x4: boolFour little-endian finite f32 elements ([x, y, w, h], 16 bytes).
u32_val: boolLittle-endian u32 (4 bytes, all bit patterns valid).
u8_max: u8§stride: u32§doc: &'static str§bit: u32Bit of this fact in a resolver’s “seen” mask (its SceneFact::ALL position).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for FactView
impl Freeze for FactView
impl Move for FactView
impl RefUnwindSafe for FactView
impl Send for FactView
impl Sync for FactView
impl Unpin for FactView
impl UnsafeUnpin for FactViewwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for FactViewwhere
&'static str: UnwindSafe,
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