[][src]Struct gf::pivot::space::Space

pub struct Space<'a> { /* fields omitted */ }

🟢 Space in a sealed module.

Implementations

impl<'a> Space<'a>[src]

pub unsafe fn from_unsealed(
    module: &'a Module,
    id: SpaceId,
    unsealed: &'a UnsealedSpace
) -> Self
[src]

Wrap an unsealed space.

pub fn module(&self) -> &'a Module[src]

Return parent module.

pub fn id(&self) -> SpaceId[src]

Return ID.

pub fn as_unsealed(&self) -> &'a UnsealedSpace[src]

Return the unsealed space.

pub fn metadata(&self) -> Metadata<'a>[src]

Return metadata.

pub fn address_size(&self) -> VarSize[src]

Return address size.

pub fn error_descriptor_size(&self) -> Option<VarSize>[src]

Return error descriptor size for remote spaces.

Trait Implementations

impl<'a> Clone for Space<'a>[src]

impl<'a> Copy for Space<'a>[src]

impl<'a> Eq for Space<'a>[src]

impl<'a> Hash for Space<'a>[src]

impl<'a> PartialEq<Space<'a>> for Space<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Space<'a>

impl<'a> Send for Space<'a>

impl<'a> Sync for Space<'a>

impl<'a> Unpin for Space<'a>

impl<'a> UnwindSafe for Space<'a>

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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.