pub enum RpLine {
Rp2040,
Rp2350,
Unknown,
}Variants§
Implementations§
Source§impl RpLine
impl RpLine
Sourcepub fn ram_size_bytes(&self) -> Option<u32>
pub fn ram_size_bytes(&self) -> Option<u32>
Returns the RAM size in bytes
Sourcepub fn ram_size_kb(&self) -> Option<u32>
pub fn ram_size_kb(&self) -> Option<u32>
Returns the RAM size in KB
Sourcepub fn expected_idr(&self) -> Option<Idr>
pub fn expected_idr(&self) -> Option<Idr>
Returns the expected IDR value for this RP line.
Trait Implementations§
impl Copy for RpLine
impl Eq for RpLine
impl StructuralPartialEq for RpLine
Auto Trait Implementations§
impl Freeze for RpLine
impl RefUnwindSafe for RpLine
impl Send for RpLine
impl Sync for RpLine
impl Unpin for RpLine
impl UnsafeUnpin for RpLine
impl UnwindSafe for RpLine
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