pub struct GltfBufferViewCapability {
pub buffer_view_index: usize,
pub buffer_index: usize,
pub byte_offset: u64,
pub byte_length: u64,
pub byte_stride: Option<u64>,
}Expand description
One raw buffer-view layout.
Fields§
§buffer_view_index: usizeStable source buffer-view index.
buffer_index: usizeStable source buffer index.
byte_offset: u64Byte offset relative to the buffer.
byte_length: u64Declared byte length.
byte_stride: Option<u64>Optional element stride.
Trait Implementations§
Source§impl Clone for GltfBufferViewCapability
impl Clone for GltfBufferViewCapability
Source§fn clone(&self) -> GltfBufferViewCapability
fn clone(&self) -> GltfBufferViewCapability
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 GltfBufferViewCapability
impl Debug for GltfBufferViewCapability
impl Eq for GltfBufferViewCapability
Source§impl PartialEq for GltfBufferViewCapability
impl PartialEq for GltfBufferViewCapability
Source§impl Serialize for GltfBufferViewCapability
impl Serialize for GltfBufferViewCapability
impl StructuralPartialEq for GltfBufferViewCapability
Auto Trait Implementations§
impl Freeze for GltfBufferViewCapability
impl RefUnwindSafe for GltfBufferViewCapability
impl Send for GltfBufferViewCapability
impl Sync for GltfBufferViewCapability
impl Unpin for GltfBufferViewCapability
impl UnsafeUnpin for GltfBufferViewCapability
impl UnwindSafe for GltfBufferViewCapability
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