[][src]Struct gf::pivot::reg::Reg

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

🟢 Register in a sealed module.

Implementations

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

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

Wrap an unsealed register.

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

Return parent module.

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

Return ID.

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

Return the unsealed register.

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

Return metadata.

pub fn space(&self) -> Space<'a>[src]

Return space.

pub fn endianness(&self) -> Endianness[src]

Return endianness.

pub fn address(&self) -> &'a BitVec[src]

Return address.

pub fn address_constant(&self) -> Constant<'a>[src]

Return address constant.

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

Return size.

pub fn to_space_elt(&self) -> SpaceElt<'a>[src]

Convert to a space element.

pub fn to_space_span(&self) -> SpaceSpan[src]

Convert to a space span.

Trait Implementations

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

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

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for Reg<'a>

impl<'a> Send for Reg<'a>

impl<'a> Sync for Reg<'a>

impl<'a> Unpin for Reg<'a>

impl<'a> UnwindSafe for Reg<'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.