[][src]Struct faerie::DebugSectionDecl

pub struct DebugSectionDecl { /* fields omitted */ }

Builder for a debug section declaration

Methods

impl DebugSectionDecl[src]

pub fn with_datatype(self, datatype: DataType) -> Self[src]

Build datatype

pub fn set_datatype(&mut self, datatype: DataType)[src]

Set datatype

pub fn get_datatype(&self) -> DataType[src]

Get datatype

pub fn with_align(self, align: Option<usize>) -> Self[src]

Build alignment. Size is in bytes. If None, a default is chosen in the backend.

pub fn set_align(&mut self, align: Option<usize>)[src]

Set alignment

pub fn get_align(&self) -> Option<usize>[src]

Get alignment

pub fn is_global(&self) -> bool[src]

Debug sections are never global, but we have an accessor for symmetry with other section declarations

Trait Implementations

impl Clone for DebugSectionDecl[src]

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

Performs copy-assignment from source. Read more

impl Ord for DebugSectionDecl[src]

default fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

default fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

default 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 Eq for DebugSectionDecl[src]

impl Into<Decl> for DebugSectionDecl[src]

impl PartialOrd<DebugSectionDecl> for DebugSectionDecl[src]

impl Copy for DebugSectionDecl[src]

impl PartialEq<DebugSectionDecl> for DebugSectionDecl[src]

impl Default for DebugSectionDecl[src]

impl Debug for DebugSectionDecl[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

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