pub enum ExtKind {
None,
SignExtend,
ZeroExtend,
}
Expand description
This defines the ways a value can be extended: either signed- or zero-extension, or none for types that are not extended. Contrast with ExtMode, which defines the widths from and to which values can be extended.
Variants§
Trait Implementations§
source§impl PartialEq for ExtKind
impl PartialEq for ExtKind
impl StructuralPartialEq for ExtKind
Auto Trait Implementations§
impl Freeze for ExtKind
impl RefUnwindSafe for ExtKind
impl Send for ExtKind
impl Sync for ExtKind
impl Unpin for ExtKind
impl UnwindSafe for ExtKind
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