Enum abbau_types::IntTypeRef
source · pub enum IntTypeRef {
Int1,
Int2(EndianSpec),
Int4(EndianSpec),
Int8(EndianSpec),
}
Expand description
Integer byte width specification
Variants§
Int1
8 bit integer
Int2(EndianSpec)
16 bit integer
Int4(EndianSpec)
32 bit integer
Int8(EndianSpec)
64 bit integer
Implementations§
source§impl IntTypeRef
impl IntTypeRef
Trait Implementations§
source§impl Clone for IntTypeRef
impl Clone for IntTypeRef
source§fn clone(&self) -> IntTypeRef
fn clone(&self) -> IntTypeRef
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 IntTypeRef
impl Debug for IntTypeRef
source§impl Ord for IntTypeRef
impl Ord for IntTypeRef
source§fn cmp(&self, other: &IntTypeRef) -> Ordering
fn cmp(&self, other: &IntTypeRef) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<IntTypeRef> for IntTypeRef
impl PartialEq<IntTypeRef> for IntTypeRef
source§fn eq(&self, other: &IntTypeRef) -> bool
fn eq(&self, other: &IntTypeRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<IntTypeRef> for IntTypeRef
impl PartialOrd<IntTypeRef> for IntTypeRef
source§fn partial_cmp(&self, other: &IntTypeRef) -> Option<Ordering>
fn partial_cmp(&self, other: &IntTypeRef) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for IntTypeRef
impl Eq for IntTypeRef
impl StructuralEq for IntTypeRef
impl StructuralPartialEq for IntTypeRef
Auto Trait Implementations§
impl RefUnwindSafe for IntTypeRef
impl Send for IntTypeRef
impl Sync for IntTypeRef
impl Unpin for IntTypeRef
impl UnwindSafe for IntTypeRef
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