Enum evegfx::low_level::Register [−][src]
Represents a register within the MEM_REG region on an EVE device.
Variants
Implementations
impl Register
[src]
pub fn ptr<M: Model>(self) -> Ptr<M::RegisterMem>
[src]
pub fn offset(self) -> u32
[src]
Returns the offset of the register address within the register memory.
pub fn index(self) -> usize
[src]
Returns the index of the register within the register file, as if the
register file were an array of u32
.
Trait Implementations
impl Clone for Register
[src]
fn clone(&self) -> Register
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Register
[src]
impl Debug for Register
[src]
impl Eq for Register
[src]
impl PartialEq<Register> for Register
[src]
fn eq(&self, other: &Register) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Register
[src]
impl StructuralPartialEq for Register
[src]
impl TryFrom<u16> for Register
[src]
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
fn try_from(number: u16) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
impl TryFromPrimitive for Register
[src]
type Primitive = u16
const NAME: &'static str
[src]
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,