pub struct StructMember {
pub name: Option<String>,
pub type_id: u32,
pub offset: Option<u32>,
pub row_major: bool,
pub stride: u32,
}
Expand description
Describes a single member of a Type::Struct
type
Fields§
§name: Option<String>
The name of the member variable (if known)
type_id: u32
The type id of the member’s Type
offset: Option<u32>
The offset within the struct of this member (if known)
row_major: bool
For matrix members: whether this matrix is stored in row major order
stride: u32
For matrix members: The stride between rows/columns of the matrix
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StructMember
impl RefUnwindSafe for StructMember
impl Send for StructMember
impl Sync for StructMember
impl Unpin for StructMember
impl UnwindSafe for StructMember
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