pub struct U32I32F32 { /* private fields */ }Expand description
A special buffer that stores a 32-bit number and can be converted to different types respecting bit positions
Implementations§
Source§impl U32I32F32
impl U32I32F32
Sourcepub fn new(value: impl IntoValue32, ty: ValueType32) -> Self
pub fn new(value: impl IntoValue32, ty: ValueType32) -> Self
Creates a new U32I32F32
Sourcepub fn set(&mut self, value: impl IntoValue32, ty: ValueType32)
pub fn set(&mut self, value: impl IntoValue32, ty: ValueType32)
Sets the value
Trait Implementations§
impl Copy for U32I32F32
impl Eq for U32I32F32
impl StructuralPartialEq for U32I32F32
Auto Trait Implementations§
impl Freeze for U32I32F32
impl RefUnwindSafe for U32I32F32
impl Send for U32I32F32
impl Sync for U32I32F32
impl Unpin for U32I32F32
impl UnwindSafe for U32I32F32
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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