pub struct FragmentId(pub usize);
Expand description
ID of a fragment.
Tuple Fields§
§0: usize
Trait Implementations§
Source§impl Clone for FragmentId
impl Clone for FragmentId
Source§fn clone(&self) -> FragmentId
fn clone(&self) -> FragmentId
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 FragmentId
impl Debug for FragmentId
Source§impl From<FragmentId> for usize
impl From<FragmentId> for usize
Source§fn from(original: FragmentId) -> Self
fn from(original: FragmentId) -> Self
Converts to this type from the input type.
Source§impl From<usize> for FragmentId
impl From<usize> for FragmentId
Source§fn from(original: usize) -> FragmentId
fn from(original: usize) -> FragmentId
Converts to this type from the input type.
Source§impl Hash for FragmentId
impl Hash for FragmentId
Source§impl Ord for FragmentId
impl Ord for FragmentId
Source§fn cmp(&self, other: &FragmentId) -> Ordering
fn cmp(&self, other: &FragmentId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FragmentId
impl PartialEq for FragmentId
Source§impl PartialOrd for FragmentId
impl PartialOrd for FragmentId
impl Copy for FragmentId
impl Eq for FragmentId
impl StructuralPartialEq for FragmentId
Auto Trait Implementations§
impl Freeze for FragmentId
impl RefUnwindSafe for FragmentId
impl Send for FragmentId
impl Sync for FragmentId
impl Unpin for FragmentId
impl UnwindSafe for FragmentId
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