pub enum WrapperKind {
Rx,
Tx,
}Variants§
Implementations§
Source§impl WrapperKind
impl WrapperKind
pub fn element_name(self) -> &'static str
pub fn from_element(name: &str) -> Option<Self>
Trait Implementations§
Source§impl Clone for WrapperKind
impl Clone for WrapperKind
Source§fn clone(&self) -> WrapperKind
fn clone(&self) -> WrapperKind
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 WrapperKind
impl Debug for WrapperKind
Source§impl PartialEq for WrapperKind
impl PartialEq for WrapperKind
impl Copy for WrapperKind
impl Eq for WrapperKind
impl StructuralPartialEq for WrapperKind
Auto Trait Implementations§
impl Freeze for WrapperKind
impl RefUnwindSafe for WrapperKind
impl Send for WrapperKind
impl Sync for WrapperKind
impl Unpin for WrapperKind
impl UnwindSafe for WrapperKind
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