Struct evegfx::interface::fake::NoRegisterFile [−][src]
An implementation of RegisterFile
that doesn't have any registers at
all.
This is a placeholder for situations that don't need to support direct access to registers.
Trait Implementations
impl Clone for NoRegisterFile
[src]
fn clone(&self) -> NoRegisterFile
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NoRegisterFile
[src]
impl Debug for NoRegisterFile
[src]
impl Eq for NoRegisterFile
[src]
impl PartialEq<NoRegisterFile> for NoRegisterFile
[src]
fn eq(&self, other: &NoRegisterFile) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl RegisterFile for NoRegisterFile
[src]
type Error = ()
fn internal_read(&self, _reg: Register) -> u32
[src]
fn read(&mut self, _reg: Register) -> Result<u32, Self::Error>
[src]
fn write(&mut self, _reg: Register, _v: u32) -> Result<(), Self::Error>
[src]
impl StructuralEq for NoRegisterFile
[src]
impl StructuralPartialEq for NoRegisterFile
[src]
Auto Trait Implementations
impl Send for NoRegisterFile
[src]
impl Sync for NoRegisterFile
[src]
impl Unpin for NoRegisterFile
[src]
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>,