pub struct ExtendedPlugInfo {
pub addr: BcoPlugAddr,
pub info: BcoPlugInfo,
}
Expand description
AV/C command for extend plug information.
Fields§
§addr: BcoPlugAddr
The address of plug.
info: BcoPlugInfo
The type of plug information
Implementations§
Source§impl ExtendedPlugInfo
impl ExtendedPlugInfo
Sourcepub fn new(addr: &BcoPlugAddr, info: BcoPlugInfo) -> Self
pub fn new(addr: &BcoPlugAddr, info: BcoPlugInfo) -> Self
Instantiate extended plug info structure with parameters.
Trait Implementations§
Source§impl AvcStatus for ExtendedPlugInfo
impl AvcStatus for ExtendedPlugInfo
fn build_operands(&mut self, _: &AvcAddr) -> Result<Vec<u8>, AvcCmdBuildError>
fn parse_operands( &mut self, _: &AvcAddr, operands: &[u8], ) -> Result<(), AvcRespParseError>
Source§impl Clone for ExtendedPlugInfo
impl Clone for ExtendedPlugInfo
Source§fn clone(&self) -> ExtendedPlugInfo
fn clone(&self) -> ExtendedPlugInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExtendedPlugInfo
impl Debug for ExtendedPlugInfo
Source§impl Default for ExtendedPlugInfo
impl Default for ExtendedPlugInfo
Source§fn default() -> ExtendedPlugInfo
fn default() -> ExtendedPlugInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExtendedPlugInfo
impl PartialEq for ExtendedPlugInfo
impl Eq for ExtendedPlugInfo
impl StructuralPartialEq for ExtendedPlugInfo
Auto Trait Implementations§
impl Freeze for ExtendedPlugInfo
impl RefUnwindSafe for ExtendedPlugInfo
impl Send for ExtendedPlugInfo
impl Sync for ExtendedPlugInfo
impl Unpin for ExtendedPlugInfo
impl UnwindSafe for ExtendedPlugInfo
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