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§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)