pub enum TargetPointerWidth {
Bits32,
Bits64,
}Expand description
Explicit target pointer width used by Bevy’s target-id preimage.
Bevy hashes every path segment’s byte length using
usize::to_le_bytes(). The width is therefore an input to the exact
prediction and is never inferred from the host running AnimSmith.
Variants§
Trait Implementations§
Source§impl Clone for TargetPointerWidth
impl Clone for TargetPointerWidth
Source§fn clone(&self) -> TargetPointerWidth
fn clone(&self) -> TargetPointerWidth
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 TargetPointerWidth
Source§impl Debug for TargetPointerWidth
impl Debug for TargetPointerWidth
Source§impl<'de> Deserialize<'de> for TargetPointerWidth
impl<'de> Deserialize<'de> for TargetPointerWidth
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
impl Eq for TargetPointerWidth
Source§impl PartialEq for TargetPointerWidth
impl PartialEq for TargetPointerWidth
Source§impl Serialize for TargetPointerWidth
impl Serialize for TargetPointerWidth
impl StructuralPartialEq for TargetPointerWidth
Auto Trait Implementations§
impl Freeze for TargetPointerWidth
impl RefUnwindSafe for TargetPointerWidth
impl Send for TargetPointerWidth
impl Sync for TargetPointerWidth
impl Unpin for TargetPointerWidth
impl UnsafeUnpin for TargetPointerWidth
impl UnwindSafe for TargetPointerWidth
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