#[repr(transparent)]pub struct ChardevSpicePortWrapper {
pub data: ChardevSpicePort,
}
Fields§
§data: ChardevSpicePort
Implementations§
Source§impl ChardevSpicePortWrapper
impl ChardevSpicePortWrapper
pub fn into_inner(self) -> ChardevSpicePort
Trait Implementations§
Source§impl AsRef<ChardevSpicePort> for ChardevSpicePortWrapper
impl AsRef<ChardevSpicePort> for ChardevSpicePortWrapper
Source§fn as_ref(&self) -> &ChardevSpicePort
fn as_ref(&self) -> &ChardevSpicePort
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ChardevSpicePortWrapper
impl Clone for ChardevSpicePortWrapper
Source§fn clone(&self) -> ChardevSpicePortWrapper
fn clone(&self) -> ChardevSpicePortWrapper
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 ChardevSpicePortWrapper
impl Debug for ChardevSpicePortWrapper
Source§impl Deref for ChardevSpicePortWrapper
impl Deref for ChardevSpicePortWrapper
Source§impl<'de> Deserialize<'de> for ChardevSpicePortWrapper
impl<'de> Deserialize<'de> for ChardevSpicePortWrapper
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ChardevSpicePortWrapper> for ChardevBackend
impl From<ChardevSpicePortWrapper> for ChardevBackend
Source§fn from(val: ChardevSpicePortWrapper) -> Self
fn from(val: ChardevSpicePortWrapper) -> Self
Converts to this type from the input type.
Source§impl<T: Into<ChardevSpicePort>> From<T> for ChardevSpicePortWrapper
impl<T: Into<ChardevSpicePort>> From<T> for ChardevSpicePortWrapper
Auto Trait Implementations§
impl Freeze for ChardevSpicePortWrapper
impl RefUnwindSafe for ChardevSpicePortWrapper
impl Send for ChardevSpicePortWrapper
impl Sync for ChardevSpicePortWrapper
impl Unpin for ChardevSpicePortWrapper
impl UnwindSafe for ChardevSpicePortWrapper
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