[−][src]Struct gltf_json::buffer::View
A view into a buffer generally representing a subset of the buffer.
https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#reference-bufferview
Fields
buffer: Index<Buffer>The parent Buffer.
byte_length: u32The length of the BufferView in bytes.
byte_offset: Option<u32>Offset into the parent buffer in bytes.
byte_stride: Option<u32>The stride in bytes between vertex attributes or other interleavable data.
When zero, data is assumed to be tightly packed.
target: Option<Checked<Target>>Optional target the buffer should be bound to.
extensions: Option<View>Extension specific data.
extras: ExtrasOptional application specific data.
Trait Implementations
impl Clone for View[src]
impl Debug for View[src]
impl<'de> Deserialize<'de> for View[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl<'a> Get<View> for Root[src]
impl Serialize for View[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl Validate for View[src]
Auto Trait Implementations
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnwindSafe for View
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,