pub struct DensePoseSequenceView<'a> { /* private fields */ }Implementations§
Source§impl<'a> DensePoseSequenceView<'a>
impl<'a> DensePoseSequenceView<'a>
pub fn new( world_matrices: &'a [Mat4], morph_weights: &'a [f32], frame_count: usize, bone_count: usize, morph_count: usize, start_frame: f32, frame_step: f32, ) -> Result<Self, PoseReductionError>
pub fn frame_count(&self) -> usize
pub fn bone_count(&self) -> usize
pub fn morph_count(&self) -> usize
pub fn start_frame(&self) -> f32
pub fn frame_step(&self) -> f32
Trait Implementations§
Source§impl<'a> Clone for DensePoseSequenceView<'a>
impl<'a> Clone for DensePoseSequenceView<'a>
Source§fn clone(&self) -> DensePoseSequenceView<'a>
fn clone(&self) -> DensePoseSequenceView<'a>
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 moreimpl<'a> Copy for DensePoseSequenceView<'a>
Auto Trait Implementations§
impl<'a> Freeze for DensePoseSequenceView<'a>
impl<'a> RefUnwindSafe for DensePoseSequenceView<'a>
impl<'a> Send for DensePoseSequenceView<'a>
impl<'a> Sync for DensePoseSequenceView<'a>
impl<'a> Unpin for DensePoseSequenceView<'a>
impl<'a> UnsafeUnpin for DensePoseSequenceView<'a>
impl<'a> UnwindSafe for DensePoseSequenceView<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more