Struct dof::dof::Section[][src]

pub struct Section {
    pub ident: Ident,
    pub providers: BTreeMap<String, Provider>,
}

Representation of a DOF section of an object file

Fields

ident: Ident

The identifying bytes of this section

providers: BTreeMap<String, Provider>

The list of providers defined in this section

Implementations

impl Section[src]

pub fn as_bytes(&self) -> Vec<u8>[src]

Serialize a section into DOF object file section.

Trait Implementations

impl Clone for Section[src]

impl Debug for Section[src]

impl Default for Section[src]

Auto Trait Implementations

impl RefUnwindSafe for Section

impl Send for Section

impl Sync for Section

impl Unpin for Section

impl UnwindSafe for Section

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.