TurboEncab

Struct TurboEncab 

Source
pub struct TurboEncab<'io, IO = PtrIO> { /* private fields */ }
Expand description

Turbo-Encabulator

Configuration & status address space for the state-of-the-art Turbo Encabulator. It is strongly recommended that users of the Turbo Encabulator watch the training video prior to attempting to supply inverse reactive current. The product brief for Rockwell Automation’s Retro Encabulator is also a sufficient substitute.

Implementations§

Source§

impl TurboEncab<'static>

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

§Safety

The caller must guarantee that the provided address points to a hardware register block implementing this interface.

Source§

impl<'io, IO> TurboEncab<'io, IO>

Source

pub const SIZE: usize = 10_468usize

Size in bytes of the underlying memory

Source

pub const unsafe fn from_ptr_with(ptr: *mut (), io: &'io IO) -> Self

§Safety

The caller must guarantee that the provided address points to a hardware register block implementing this interface.

Source

pub const fn as_ptr(&self) -> *mut ()

Source§

impl<'io, IO: RegisterIO> TurboEncab<'io, IO>

Source

pub const fn ctrl(&self) -> Reg<'io, Ctrl, IO>

System Control Register

Source

pub const fn status(&self) -> Reg<'io, Status, IO>

Encabulator Status

Source

pub const fn grammeter(&self) -> [Grammeter<'io, IO>; 12]

Cardinal Grammeter

The Turbo Encabulator contains twelve cardinal grammeters. Each has the following features:

  • Automatically synchronizing.
  • Fully independent of the five dingle arms.
  • Produces reliable entropic measurements.
Source

pub const fn measurements(&self) -> Measurements<'io, IO>

Historical Antigravitic Marzelvane Measurements

Marzelvane measurements have a drift of less than 3 ft^2-hrs/mo.

Trait Implementations§

Source§

impl<IO> Clone for TurboEncab<'_, IO>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'io, IO: PartialEq> PartialEq for TurboEncab<'io, IO>

Source§

fn eq(&self, other: &TurboEncab<'io, IO>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<IO> Copy for TurboEncab<'_, IO>

Source§

impl<'io, IO: Eq> Eq for TurboEncab<'io, IO>

Source§

impl<IO: Sync> Send for TurboEncab<'_, IO>

Source§

impl<'io, IO> StructuralPartialEq for TurboEncab<'io, IO>

Source§

impl<IO: Sync> Sync for TurboEncab<'_, IO>

Auto Trait Implementations§

§

impl<'io, IO> Freeze for TurboEncab<'io, IO>

§

impl<'io, IO> RefUnwindSafe for TurboEncab<'io, IO>
where IO: RefUnwindSafe,

§

impl<'io, IO> Unpin for TurboEncab<'io, IO>

§

impl<'io, IO> UnwindSafe for TurboEncab<'io, IO>
where IO: RefUnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.