pub struct Fixed<const D: u16, const S: u16>;Expand description
fixed<D, S>: crate::Fixed. A value is sent with digits after S
cut off; an integer part longer than D - S digits is
DATA_CONVERSION.
Trait Implementations§
Source§impl<const D: u16, const S: u16> IdlType for Fixed<D, S>
impl<const D: u16, const S: u16> IdlType for Fixed<D, S>
Source§const MIN_SIZE: usize
const MIN_SIZE: usize
The smallest size of a value on the wire, to check the lengths of
sequences before reading them.
Source§type Borrowed = Fixed
type Borrowed = Fixed
What is written:
str for strings, a slice for sequences, else
Rust itself.Auto Trait Implementations§
impl<const D: u16, const S: u16> Freeze for Fixed<D, S>
impl<const D: u16, const S: u16> RefUnwindSafe for Fixed<D, S>
impl<const D: u16, const S: u16> Send for Fixed<D, S>
impl<const D: u16, const S: u16> Sync for Fixed<D, S>
impl<const D: u16, const S: u16> Unpin for Fixed<D, S>
impl<const D: u16, const S: u16> UnsafeUnpin for Fixed<D, S>
impl<const D: u16, const S: u16> UnwindSafe for Fixed<D, S>
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