Struct dae_parser::Accessor
source · [−]pub struct Accessor {
pub source: Url,
pub count: usize,
pub offset: usize,
pub stride: usize,
pub param: Vec<Param>,
}
Expand description
Describes a stream of values from an array data source.
Fields
source: Url
The location of the array to access using a URI expression. This element may refer to a COLLADA array element or to an array data source outside the scope of the document; the source does not need to be a COLLADA document.
count: usize
The number of times the array is accessed.
offset: usize
The index of the first value to be read from the array.
stride: usize
The number of values that are to be considered a unit during each access to the array. The default is 1, indicating that a single value is accessed.
param: Vec<Param>
The list of accesses.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Accessor
impl Send for Accessor
impl Sync for Accessor
impl Unpin for Accessor
impl UnwindSafe for Accessor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more