Struct SkeletalCounts
pub struct SkeletalCounts {
pub joints: usize,
pub vertices: usize,
pub clips: usize,
pub tracks: usize,
pub keys: usize,
pub encoded_bytes: Option<usize>,
}Expand description
Validated element counts and encoded payload size for skeletal admission budgeting.
Fields§
§joints: usize§vertices: usize§clips: usize§tracks: usize§keys: usize§encoded_bytes: Option<usize>Trait Implementations§
§impl Clone for SkeletalCounts
impl Clone for SkeletalCounts
§fn clone(&self) -> SkeletalCounts
fn clone(&self) -> SkeletalCounts
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 Copy for SkeletalCounts
§impl Debug for SkeletalCounts
impl Debug for SkeletalCounts
impl Eq for SkeletalCounts
§impl PartialEq for SkeletalCounts
impl PartialEq for SkeletalCounts
impl StructuralPartialEq for SkeletalCounts
Auto Trait Implementations§
impl Freeze for SkeletalCounts
impl RefUnwindSafe for SkeletalCounts
impl Send for SkeletalCounts
impl Sync for SkeletalCounts
impl Unpin for SkeletalCounts
impl UnsafeUnpin for SkeletalCounts
impl UnwindSafe for SkeletalCounts
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.