pub enum PortSpeed {
Standard,
Fast,
FastPlus,
}
Expand description
TWI port speeds
Variants§
Trait Implementations§
source§impl PartialEq for PortSpeed
impl PartialEq for PortSpeed
source§impl Persist for PortSpeed
impl Persist for PortSpeed
source§fn load_from<R: Read>(reader: &mut R) -> PersistenceResult<Self>where
Self: Sized,
fn load_from<R: Read>(reader: &mut R) -> PersistenceResult<Self>where
Self: Sized,
Load an instance of this Enum from the given reader
source§fn save_to<W: Write>(&self, writer: &mut W) -> PersistenceResult<()>
fn save_to<W: Write>(&self, writer: &mut W) -> PersistenceResult<()>
Save an instance of this Enum to the given writer.
source§fn load_with<R: Read>(reader: R) -> PersistenceResult<Self>
fn load_with<R: Read>(reader: R) -> PersistenceResult<Self>
Take the given reader and use it to load an instance of this type.
impl Copy for PortSpeed
impl Eq for PortSpeed
impl StructuralPartialEq for PortSpeed
Auto Trait Implementations§
impl Freeze for PortSpeed
impl RefUnwindSafe for PortSpeed
impl Send for PortSpeed
impl Sync for PortSpeed
impl Unpin for PortSpeed
impl UnwindSafe for PortSpeed
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