[]Struct elfkit::types::DynamicFlags1

pub struct DynamicFlags1 { /* fields omitted */ }

Methods

impl DynamicFlags1

pub const NOW: DynamicFlags1

perform complete relocation processing

pub const GLOBAL: DynamicFlags1

set RTLD_GLOBAL for this object

pub const GROUP: DynamicFlags1

indicate object is a member of a group

pub const NODELETE: DynamicFlags1

object cannot be deleted from a process

pub const LOADFLTR: DynamicFlags1

ensure immediate loading of filtees

pub const INITFIRST: DynamicFlags1

object's initialization occurs first

pub const NOOPEN: DynamicFlags1

object cannot be used with dlopen()

pub const ORIGIN: DynamicFlags1

$ORIGIN processing required

pub const DIRECT: DynamicFlags1

direct bindings enabled

pub const TRANS: DynamicFlags1

meaning unknown / undefined

pub const INTERPOSE: DynamicFlags1

object is an interposer

pub const NODEFLIB: DynamicFlags1

ignore the default library search path

pub const NODUMP: DynamicFlags1

object cannot be dumped with dldump()

pub const CONFALT: DynamicFlags1

object is a configuration alternative

pub const ENDFILTEE: DynamicFlags1

filtee terminates filter's search

pub const DISPRELDNE: DynamicFlags1

displacement relocation has been carried out at build time

pub const DISPRELPND: DynamicFlags1

displacement relocation pending (to be applied at run-time)

pub const NODIRECT: DynamicFlags1

object contains non-direct bindings

pub const IGNMULDEF: DynamicFlags1

internal use

pub const NOKSYMS: DynamicFlags1

internal use

pub const NOHDR: DynamicFlags1

internal use

pub const EDITED: DynamicFlags1

object has been modified since originally built

pub const NORELOC: DynamicFlags1

internal use

pub const SYMINTPOSE: DynamicFlags1

individual symbol interposers exist for this object

pub const GLOBAUDIT: DynamicFlags1

establish global auditing

pub const SINGLETON: DynamicFlags1

singleton symbols are used

pub const STUB: DynamicFlags1

stub

pub const PIE: DynamicFlags1

position independant executable

pub fn empty() -> DynamicFlags1

Returns an empty set of flags.

pub fn all() -> DynamicFlags1

Returns the set containing all flags.

pub fn bits(&self) -> u64

Returns the raw value of the flags currently stored.

pub fn from_bits(bits: u64) -> Option<DynamicFlags1>

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

pub fn from_bits_truncate(bits: u64) -> DynamicFlags1

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

pub fn is_empty(&self) -> bool

Returns true if no flags are currently stored.

pub fn is_all(&self) -> bool

Returns true if all flags are currently set.

pub fn intersects(&self, other: DynamicFlags1) -> bool

Returns true if there are flags common to both self and other.

pub fn contains(&self, other: DynamicFlags1) -> bool

Returns true all of the flags in other are contained within self.

pub fn insert(&mut self, other: DynamicFlags1)

Inserts the specified flags in-place.

pub fn remove(&mut self, other: DynamicFlags1)

Removes the specified flags in-place.

pub fn toggle(&mut self, other: DynamicFlags1)

Toggles the specified flags in-place.

pub fn set(&mut self, other: DynamicFlags1, value: bool)

Inserts or removes the specified flags depending on the passed value.

Trait Implementations

impl Default for DynamicFlags1[src]

impl Extend<DynamicFlags1> for DynamicFlags1

impl Copy for DynamicFlags1

impl Ord for DynamicFlags1

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Clone for DynamicFlags1

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<DynamicFlags1> for DynamicFlags1

impl PartialOrd<DynamicFlags1> for DynamicFlags1

impl Eq for DynamicFlags1

impl Hash for DynamicFlags1

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Sub<DynamicFlags1> for DynamicFlags1

type Output = DynamicFlags1

The resulting type after applying the - operator.

fn sub(self, other: DynamicFlags1) -> DynamicFlags1

Returns the set difference of the two sets of flags.

impl SubAssign<DynamicFlags1> for DynamicFlags1

fn sub_assign(&mut self, other: DynamicFlags1)

Disables all flags enabled in the set.

impl Not for DynamicFlags1

type Output = DynamicFlags1

The resulting type after applying the ! operator.

fn not(self) -> DynamicFlags1

Returns the complement of this set of flags.

impl BitAnd<DynamicFlags1> for DynamicFlags1

type Output = DynamicFlags1

The resulting type after applying the & operator.

fn bitand(self, other: DynamicFlags1) -> DynamicFlags1

Returns the intersection between the two sets of flags.

impl BitOr<DynamicFlags1> for DynamicFlags1

type Output = DynamicFlags1

The resulting type after applying the | operator.

fn bitor(self, other: DynamicFlags1) -> DynamicFlags1

Returns the union of the two sets of flags.

impl BitXor<DynamicFlags1> for DynamicFlags1

type Output = DynamicFlags1

The resulting type after applying the ^ operator.

fn bitxor(self, other: DynamicFlags1) -> DynamicFlags1

Returns the left flags, but with all the right flags toggled.

impl BitAndAssign<DynamicFlags1> for DynamicFlags1

fn bitand_assign(&mut self, other: DynamicFlags1)

Disables all flags disabled in the set.

impl BitOrAssign<DynamicFlags1> for DynamicFlags1

fn bitor_assign(&mut self, other: DynamicFlags1)

Adds the set of flags.

impl BitXorAssign<DynamicFlags1> for DynamicFlags1

fn bitxor_assign(&mut self, other: DynamicFlags1)

Toggles the set of flags.

impl FromIterator<DynamicFlags1> for DynamicFlags1

impl Debug for DynamicFlags1

impl Octal for DynamicFlags1

impl Binary for DynamicFlags1

impl LowerHex for DynamicFlags1

impl UpperHex for DynamicFlags1

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]