pub enum SmallFixedBuffers {}
Expand description
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§
Source§impl<'input> Buffers<'input> for SmallFixedBuffers
impl<'input> Buffers<'input> for SmallFixedBuffers
Source§impl Clone for SmallFixedBuffers
impl Clone for SmallFixedBuffers
Source§fn clone(&self) -> SmallFixedBuffers
fn clone(&self) -> SmallFixedBuffers
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SmallFixedBuffers
impl Debug for SmallFixedBuffers
Source§impl PartialEq for SmallFixedBuffers
impl PartialEq for SmallFixedBuffers
impl Copy for SmallFixedBuffers
impl StructuralPartialEq for SmallFixedBuffers
Auto Trait Implementations§
impl Freeze for SmallFixedBuffers
impl RefUnwindSafe for SmallFixedBuffers
impl Send for SmallFixedBuffers
impl Sync for SmallFixedBuffers
impl Unpin for SmallFixedBuffers
impl UnwindSafe for SmallFixedBuffers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more