pub enum DocComment<'r> {
GCodeFlavor(&'r str),
PrintTime(Duration),
FilamentUsed {
meters: f64,
},
LayerHeight {
millis: f64,
},
}
Variants§
Trait Implementations§
Source§impl<'r> Clone for DocComment<'r>
impl<'r> Clone for DocComment<'r>
Source§fn clone(&self) -> DocComment<'r>
fn clone(&self) -> DocComment<'r>
Returns a duplicate 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<'r> Debug for DocComment<'r>
impl<'r> Debug for DocComment<'r>
Source§impl<'r> PartialEq for DocComment<'r>
impl<'r> PartialEq for DocComment<'r>
impl<'r> StructuralPartialEq for DocComment<'r>
Auto Trait Implementations§
impl<'r> Freeze for DocComment<'r>
impl<'r> RefUnwindSafe for DocComment<'r>
impl<'r> Send for DocComment<'r>
impl<'r> Sync for DocComment<'r>
impl<'r> Unpin for DocComment<'r>
impl<'r> UnwindSafe for DocComment<'r>
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