pub struct MasterObjectDictionary<'a> { /* private fields */ }Implementations§
Source§impl<'a> MasterObjectDictionary<'a>
impl<'a> MasterObjectDictionary<'a>
pub fn vendor_id(&self) -> u32
pub fn product_code(&self) -> u32
pub fn revision_number(&self) -> u32
pub fn serial_number(&self) -> u32
pub fn read_object(&self, index: u16, subindex: u8) -> Option<Vec<u8>>
pub fn write_object(&self, index: u16, subindex: u8, data: &[u8]) -> bool
pub fn object_name(&self, index: u16) -> &str
pub fn subindex_count(&self, index: u16) -> u8
pub fn supported_object_indices(&self) -> Vec<u16>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MasterObjectDictionary<'a>
impl<'a> RefUnwindSafe for MasterObjectDictionary<'a>
impl<'a> Send for MasterObjectDictionary<'a>
impl<'a> Sync for MasterObjectDictionary<'a>
impl<'a> Unpin for MasterObjectDictionary<'a>
impl<'a> UnsafeUnpin for MasterObjectDictionary<'a>
impl<'a> UnwindSafe for MasterObjectDictionary<'a>
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