pub struct SlotAddress {
pub sector: u8,
pub slot: u32,
pub offset: u32,
}Expand description
One slot’s place in the cursor region, as CursorRegion::slots yields it.
Fields§
§sector: u8Which cursor sector the slot is in.
slot: u32The slot’s index within that sector.
offset: u32Region-relative byte offset of the slot.
Trait Implementations§
Source§impl Clone for SlotAddress
impl Clone for SlotAddress
impl Copy for SlotAddress
Source§impl Debug for SlotAddress
impl Debug for SlotAddress
impl Eq for SlotAddress
Source§impl Format for SlotAddress
Available on crate feature defmt only.
impl Format for SlotAddress
Available on crate feature
defmt only.Source§impl PartialEq for SlotAddress
impl PartialEq for SlotAddress
impl StructuralPartialEq for SlotAddress
Auto Trait Implementations§
impl Freeze for SlotAddress
impl RefUnwindSafe for SlotAddress
impl Send for SlotAddress
impl Sync for SlotAddress
impl Unpin for SlotAddress
impl UnsafeUnpin for SlotAddress
impl UnwindSafe for SlotAddress
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