[−][src]Struct mos6502::address::Address
Implementations
impl Address
[src]
pub fn to_u16(self) -> u16
[src]
pub fn to_usize(self) -> usize
[src]
pub fn get_page_number(self) -> u8
[src]
pub fn get_offset(self) -> u8
[src]
Trait Implementations
impl Add<AddressDiff> for Address
[src]
type Output = Address
The resulting type after applying the +
operator.
fn add(self, AddressDiff(rhs): AddressDiff) -> Address
[src]
impl Add<CheckedAddressDiff> for Address
[src]
type Output = Address
The resulting type after applying the +
operator.
fn add(self, CheckedAddressDiff(rhs): CheckedAddressDiff) -> Address
[src]
impl Clone for Address
[src]
fn clone(&self) -> Address
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Address
[src]
impl Debug for Address
[src]
impl Eq for Address
[src]
impl Ord for Address
[src]
fn cmp(&self, other: &Address) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Address> for Address
[src]
impl PartialOrd<Address> for Address
[src]
fn partial_cmp(&self, other: &Address) -> Option<Ordering>
[src]
fn lt(&self, other: &Address) -> bool
[src]
fn le(&self, other: &Address) -> bool
[src]
fn gt(&self, other: &Address) -> bool
[src]
fn ge(&self, other: &Address) -> bool
[src]
impl StructuralEq for Address
[src]
impl StructuralPartialEq for Address
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,