pub enum FloatWidth {
Width32 = 32,
Width64 = 64,
}
Expand description
Represents the bit width of a floatingpoint value type
Variants§
Implementations§
Source§impl FloatWidth
impl FloatWidth
pub fn width_in_bytes(self) -> usize
Trait Implementations§
Source§impl Clone for FloatWidth
impl Clone for FloatWidth
Source§fn clone(&self) -> FloatWidth
fn clone(&self) -> FloatWidth
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FloatWidth
impl Debug for FloatWidth
Source§impl PartialEq for FloatWidth
impl PartialEq for FloatWidth
impl Copy for FloatWidth
impl StructuralPartialEq for FloatWidth
Auto Trait Implementations§
impl Freeze for FloatWidth
impl RefUnwindSafe for FloatWidth
impl Send for FloatWidth
impl Sync for FloatWidth
impl Unpin for FloatWidth
impl UnwindSafe for FloatWidth
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