Enum moa_m68k::state::AddressWidth
source · #[repr(u8)]pub enum AddressWidth {
A32 = 32,
A24 = 24,
A22 = 22,
A20 = 20,
}
Variants§
Trait Implementations§
source§impl Clone for AddressWidth
impl Clone for AddressWidth
source§fn clone(&self) -> AddressWidth
fn clone(&self) -> AddressWidth
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 AddressWidth
impl Debug for AddressWidth
source§impl Ord for AddressWidth
impl Ord for AddressWidth
source§fn cmp(&self, other: &AddressWidth) -> Ordering
fn cmp(&self, other: &AddressWidth) -> 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 for AddressWidth
impl PartialEq for AddressWidth
source§fn eq(&self, other: &AddressWidth) -> bool
fn eq(&self, other: &AddressWidth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AddressWidth
impl PartialOrd for AddressWidth
source§fn partial_cmp(&self, other: &AddressWidth) -> Option<Ordering>
fn partial_cmp(&self, other: &AddressWidth) -> 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 AddressWidth
impl Eq for AddressWidth
impl StructuralPartialEq for AddressWidth
Auto Trait Implementations§
impl Freeze for AddressWidth
impl RefUnwindSafe for AddressWidth
impl Send for AddressWidth
impl Sync for AddressWidth
impl Unpin for AddressWidth
impl UnwindSafe for AddressWidth
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, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
impl<T, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
source§fn into_address(self) -> T
fn into_address(self) -> T
Translate the given address into an address of type
T