pub struct Sampler {
pub extensions: Option<Sampler>,
pub extras: Extras,
pub input: Index<Accessor>,
pub interpolation: Checked<Interpolation>,
pub output: Index<Accessor>,
}
Expand description
Defines a keyframe graph but not its target.
Fields§
§extensions: Option<Sampler>
Extension specific data.
extras: Extras
Optional application specific data.
input: Index<Accessor>
The index of an accessor containing keyframe input values, e.g., time.
interpolation: Checked<Interpolation>
The interpolation algorithm.
output: Index<Accessor>
The index of an accessor containing keyframe output values.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Sampler
impl<'de> Deserialize<'de> for Sampler
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Sampler
impl Send for Sampler
impl Sync for Sampler
impl Unpin for Sampler
impl UnwindSafe for Sampler
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