pub enum Checksum {
None,
Crc32,
}Expand description
The valid checksums for the binary gcode format.
Variants§
Implementations§
Source§impl Checksum
impl Checksum
pub const fn to_le_bytes(&self) -> [u8; 2]
pub const fn checksum_byte_size(&self) -> usize
Trait Implementations§
impl StructuralPartialEq for Checksum
Auto Trait Implementations§
impl Freeze for Checksum
impl RefUnwindSafe for Checksum
impl Send for Checksum
impl Sync for Checksum
impl Unpin for Checksum
impl UnwindSafe for Checksum
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