pub struct GltfAccessorCapability {
pub accessor_index: usize,
pub buffer_view_index: Option<usize>,
pub byte_offset: u64,
pub component_type: u64,
pub accessor_type: String,
pub count: u64,
pub normalized: bool,
pub sparse: bool,
}Expand description
One raw accessor layout required by a future exact-source rewrite.
Fields§
§accessor_index: usizeStable source accessor index.
buffer_view_index: Option<usize>Referenced buffer-view index, when present.
byte_offset: u64Byte offset relative to the buffer view.
component_type: u64Raw glTF component-type value.
accessor_type: StringRaw glTF accessor type such as VEC3 or MAT4.
count: u64Declared element count.
normalized: boolWhether normalized integer interpretation was requested.
sparse: boolWhether the accessor declares sparse replacement data.
Trait Implementations§
Source§impl Clone for GltfAccessorCapability
impl Clone for GltfAccessorCapability
Source§fn clone(&self) -> GltfAccessorCapability
fn clone(&self) -> GltfAccessorCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GltfAccessorCapability
impl Debug for GltfAccessorCapability
impl Eq for GltfAccessorCapability
Source§impl PartialEq for GltfAccessorCapability
impl PartialEq for GltfAccessorCapability
Source§impl Serialize for GltfAccessorCapability
impl Serialize for GltfAccessorCapability
impl StructuralPartialEq for GltfAccessorCapability
Auto Trait Implementations§
impl Freeze for GltfAccessorCapability
impl RefUnwindSafe for GltfAccessorCapability
impl Send for GltfAccessorCapability
impl Sync for GltfAccessorCapability
impl Unpin for GltfAccessorCapability
impl UnsafeUnpin for GltfAccessorCapability
impl UnwindSafe for GltfAccessorCapability
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