[−][src]Enum gcode::buffers::SmallFixedBuffers
The smallest usable set of Buffers
.
let line_size = std::mem::size_of::<Line<'_, SmallFixedBuffers>>(); assert!(line_size <= 350, "Got {}", line_size); // the explicit type for a `GCode` backed by `SmallFixedBuffers` type SmallBufferGCode<'a> = GCode<<SmallFixedBuffers as Buffers<'a>>::Arguments>; let gcode_size = std::mem::size_of::<SmallBufferGCode<'_>>(); assert!(gcode_size <= 250, "Got {}", gcode_size);
Trait Implementations
impl<'input> Buffers<'input> for SmallFixedBuffers
[src]
type Arguments = DefaultArguments
type Commands = ArrayVec<[GCode<Self::Arguments>; 1]>
type Comments = ArrayVec<[Comment<'input>; 1]>
impl Clone for SmallFixedBuffers
[src]
fn clone(&self) -> SmallFixedBuffers
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SmallFixedBuffers
[src]
impl Debug for SmallFixedBuffers
[src]
impl PartialEq<SmallFixedBuffers> for SmallFixedBuffers
[src]
fn eq(&self, other: &SmallFixedBuffers) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for SmallFixedBuffers
[src]
Auto Trait Implementations
impl RefUnwindSafe for SmallFixedBuffers
impl Send for SmallFixedBuffers
impl Sync for SmallFixedBuffers
impl Unpin for SmallFixedBuffers
impl UnwindSafe for SmallFixedBuffers
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,