pub struct U64I64F64 { /* private fields */ }Expand description
A special buffer that stores a 64-bit number and can be converted to different types respecting bit positions
Implementations§
Source§impl U64I64F64
impl U64I64F64
Sourcepub fn new(value: impl IntoValue64, ty: ValueType64) -> Self
pub fn new(value: impl IntoValue64, ty: ValueType64) -> Self
Creates a new U64I64F64
Sourcepub fn set(&mut self, value: impl IntoValue64, ty: ValueType64)
pub fn set(&mut self, value: impl IntoValue64, ty: ValueType64)
Sets the value
Trait Implementations§
impl Copy for U64I64F64
impl Eq for U64I64F64
impl StructuralPartialEq for U64I64F64
Auto Trait Implementations§
impl Freeze for U64I64F64
impl RefUnwindSafe for U64I64F64
impl Send for U64I64F64
impl Sync for U64I64F64
impl Unpin for U64I64F64
impl UnwindSafe for U64I64F64
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().