pub struct KnownCecLogicalAddress(/* private fields */);
Expand description
CecLogicalAddress which does not allow Unknown variant
Implementations§
Source§impl KnownCecLogicalAddress
impl KnownCecLogicalAddress
pub fn new(address: CecLogicalAddress) -> Option<Self>
Trait Implementations§
Source§impl Clone for KnownCecLogicalAddress
impl Clone for KnownCecLogicalAddress
Source§fn clone(&self) -> KnownCecLogicalAddress
fn clone(&self) -> KnownCecLogicalAddress
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 KnownCecLogicalAddress
impl Debug for KnownCecLogicalAddress
Source§impl From<KnownCecLogicalAddress> for CecLogicalAddress
impl From<KnownCecLogicalAddress> for CecLogicalAddress
Source§fn from(address: KnownCecLogicalAddress) -> Self
fn from(address: KnownCecLogicalAddress) -> Self
Converts to this type from the input type.
Source§impl From<KnownCecLogicalAddress> for cec_logical_address
impl From<KnownCecLogicalAddress> for cec_logical_address
Source§fn from(address: KnownCecLogicalAddress) -> Self
fn from(address: KnownCecLogicalAddress) -> Self
Converts to this type from the input type.
Source§impl Hash for KnownCecLogicalAddress
impl Hash for KnownCecLogicalAddress
Source§impl PartialEq for KnownCecLogicalAddress
impl PartialEq for KnownCecLogicalAddress
Source§impl TryFrom<KnownCecLogicalAddress> for KnownAndRegisteredCecLogicalAddress
impl TryFrom<KnownCecLogicalAddress> for KnownAndRegisteredCecLogicalAddress
Source§type Error = UnregisteredCecLogicalAddress
type Error = UnregisteredCecLogicalAddress
The type returned in the event of a conversion error.
impl Copy for KnownCecLogicalAddress
impl Eq for KnownCecLogicalAddress
impl StructuralPartialEq for KnownCecLogicalAddress
Auto Trait Implementations§
impl Freeze for KnownCecLogicalAddress
impl RefUnwindSafe for KnownCecLogicalAddress
impl Send for KnownCecLogicalAddress
impl Sync for KnownCecLogicalAddress
impl Unpin for KnownCecLogicalAddress
impl UnwindSafe for KnownCecLogicalAddress
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