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 Freeze for Accessor
impl RefUnwindSafe for Accessor
impl Send for Accessor
impl Sync for Accessor
impl Unpin for Accessor
impl UnwindSafe for Accessor
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