#[repr(u8)]pub enum Vxrm {
Rnu = 0,
Rne = 1,
Rdn = 2,
Rod = 3,
}Expand description
Vector fixed-point rounding mode.
Encoded in the vxrm CSR bits [1:0] and mirrored in vcsr[2:1].
Variants§
Rnu = 0
Round-to-nearest-up (rnu)
Rne = 1
Round-to-nearest-even (rne)
Rdn = 2
Round-down / truncate (rdn)
Rod = 3
Round-to-odd (rod)
Implementations§
Trait Implementations§
impl Copy for Vxrm
impl Eq for Vxrm
impl StructuralPartialEq for Vxrm
Auto Trait Implementations§
impl Freeze for Vxrm
impl RefUnwindSafe for Vxrm
impl Send for Vxrm
impl Sync for Vxrm
impl Unpin for Vxrm
impl UnsafeUnpin for Vxrm
impl UnwindSafe for Vxrm
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