pub struct Sector(pub usize);
Expand description
Sector.
Tuple Fields§
§0: usize
Implementations§
source§impl Sector
impl Sector
sourcepub fn into_offset(self) -> usize
pub fn into_offset(self) -> usize
Get offset that represented by the sector.
sourcepub fn into_usize(self) -> usize
pub fn into_usize(self) -> usize
Cast into usize.
Trait Implementations§
source§impl Ord for Sector
impl Ord for Sector
source§impl PartialOrd<Sector> for Sector
impl PartialOrd<Sector> for Sector
impl Copy for Sector
impl Eq for Sector
impl StructuralEq for Sector
impl StructuralPartialEq for Sector
Auto Trait Implementations§
impl RefUnwindSafe for Sector
impl Send for Sector
impl Sync for Sector
impl Unpin for Sector
impl UnwindSafe for Sector
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more