#[repr(u8)]pub enum BufferType {
PUSH_PULL = 0,
OPEN_DRAIN = 1,
}Expand description
Pin buffer drive type.
Variants§
Implementations§
Source§impl BufferType
impl BufferType
Trait Implementations§
Source§impl Clone for BufferType
impl Clone for BufferType
Source§fn clone(&self) -> BufferType
fn clone(&self) -> BufferType
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 Debug for BufferType
impl Debug for BufferType
Source§impl From<BufferType> for u8
impl From<BufferType> for u8
Source§fn from(val: BufferType) -> u8
fn from(val: BufferType) -> u8
Converts to this type from the input type.
Source§impl From<u8> for BufferType
impl From<u8> for BufferType
Source§fn from(val: u8) -> BufferType
fn from(val: u8) -> BufferType
Converts to this type from the input type.
Source§impl Ord for BufferType
impl Ord for BufferType
Source§fn cmp(&self, other: &BufferType) -> Ordering
fn cmp(&self, other: &BufferType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BufferType
impl PartialEq for BufferType
Source§impl PartialOrd for BufferType
impl PartialOrd for BufferType
impl Copy for BufferType
impl Eq for BufferType
impl StructuralPartialEq for BufferType
Auto Trait Implementations§
impl Freeze for BufferType
impl RefUnwindSafe for BufferType
impl Send for BufferType
impl Sync for BufferType
impl Unpin for BufferType
impl UnwindSafe for BufferType
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