#[repr(u8)]pub enum Ula3Paging {
Banks0123 = 0,
Banks4567 = 1,
Banks4563 = 2,
Banks4763 = 3,
}Variants§
Implementations§
Source§impl Ula3Paging
impl Ula3Paging
Sourcepub fn ram_banks(self) -> &'static [u8] ⓘ
pub fn ram_banks(self) -> &'static [u8] ⓘ
Returns a reference to an array of RAM bank indexes for a current paging variant layout.
Sourcepub fn ram_banks_with_pages_iter(self) -> impl Iterator<Item = (usize, u8)>
pub fn ram_banks_with_pages_iter(self) -> impl Iterator<Item = (usize, u8)>
Returns an iterator of tuples of RAM bank indexes with memory page indexes for a current paging variant layout.
Trait Implementations§
Source§impl Clone for Ula3Paging
impl Clone for Ula3Paging
Source§fn clone(&self) -> Ula3Paging
fn clone(&self) -> Ula3Paging
Returns a duplicate 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 Ula3Paging
impl Debug for Ula3Paging
Source§impl<'de> Deserialize<'de> for Ula3Paging
impl<'de> Deserialize<'de> for Ula3Paging
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Ula3Paging> for u8
impl From<Ula3Paging> for u8
Source§fn from(paging: Ula3Paging) -> u8
fn from(paging: Ula3Paging) -> u8
Converts to this type from the input type.
Source§impl PartialEq for Ula3Paging
impl PartialEq for Ula3Paging
Source§impl Serialize for Ula3Paging
impl Serialize for Ula3Paging
Source§impl TryFrom<u8> for Ula3Paging
impl TryFrom<u8> for Ula3Paging
impl Copy for Ula3Paging
impl Eq for Ula3Paging
impl StructuralPartialEq for Ula3Paging
Auto Trait Implementations§
impl Freeze for Ula3Paging
impl RefUnwindSafe for Ula3Paging
impl Send for Ula3Paging
impl Sync for Ula3Paging
impl Unpin for Ula3Paging
impl UnwindSafe for Ula3Paging
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§impl<S, T> IntoSample<S> for Twhere
S: FromSample<T>,
impl<S, T> IntoSample<S> for Twhere
S: FromSample<T>,
Source§fn into_sample(self) -> S
fn into_sample(self) -> S
Convert to
S a sample type from self.