Struct object::write::elf::SectionIndex
source · pub struct SectionIndex(pub u32);
Expand description
The index of an ELF section.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for SectionIndex
impl Clone for SectionIndex
source§fn clone(&self) -> SectionIndex
fn clone(&self) -> SectionIndex
Returns a copy 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 SectionIndex
impl Debug for SectionIndex
source§impl Default for SectionIndex
impl Default for SectionIndex
source§fn default() -> SectionIndex
fn default() -> SectionIndex
Returns the “default value” for a type. Read more
source§impl Hash for SectionIndex
impl Hash for SectionIndex
source§impl Ord for SectionIndex
impl Ord for SectionIndex
source§fn cmp(&self, other: &SectionIndex) -> Ordering
fn cmp(&self, other: &SectionIndex) -> 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 SectionIndex
impl PartialEq for SectionIndex
source§fn eq(&self, other: &SectionIndex) -> bool
fn eq(&self, other: &SectionIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SectionIndex
impl PartialOrd for SectionIndex
source§fn partial_cmp(&self, other: &SectionIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &SectionIndex) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SectionIndex
impl Eq for SectionIndex
impl StructuralPartialEq for SectionIndex
Auto Trait Implementations§
impl Freeze for SectionIndex
impl RefUnwindSafe for SectionIndex
impl Send for SectionIndex
impl Sync for SectionIndex
impl Unpin for SectionIndex
impl UnwindSafe for SectionIndex
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.