Struct hid_io_client::hidio_capnp::node::info::Builder
source · pub struct Builder<'a> { /* private fields */ }
Implementations§
source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn into_reader(self) -> Reader<'a>
pub fn reborrow(&mut self) -> Builder<'_>
pub fn reborrow_as_reader(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize, Error>
pub fn get_hidio_major_version(self) -> u16
pub fn set_hidio_major_version(&mut self, value: u16)
pub fn get_hidio_minor_version(self) -> u16
pub fn set_hidio_minor_version(&mut self, value: u16)
pub fn get_hidio_patch_version(self) -> u16
pub fn set_hidio_patch_version(&mut self, value: u16)
pub fn get_device_name(self) -> Result<Builder<'a>, Error>
pub fn set_device_name(&mut self, value: &str)
pub fn init_device_name(self, size: u32) -> Builder<'a>
pub fn has_device_name(&self) -> bool
pub fn get_device_serial(self) -> Result<Builder<'a>, Error>
pub fn set_device_serial(&mut self, value: &str)
pub fn init_device_serial(self, size: u32) -> Builder<'a>
pub fn has_device_serial(&self) -> bool
pub fn get_device_version(self) -> Result<Builder<'a>, Error>
pub fn set_device_version(&mut self, value: &str)
pub fn init_device_version(self, size: u32) -> Builder<'a>
pub fn has_device_version(&self) -> bool
pub fn get_device_mcu(self) -> Result<Builder<'a>, Error>
pub fn set_device_mcu(&mut self, value: &str)
pub fn init_device_mcu(self, size: u32) -> Builder<'a>
pub fn has_device_mcu(&self) -> bool
pub fn get_firmware_name(self) -> Result<Builder<'a>, Error>
pub fn set_firmware_name(&mut self, value: &str)
pub fn init_firmware_name(self, size: u32) -> Builder<'a>
pub fn has_firmware_name(&self) -> bool
pub fn get_firmware_version(self) -> Result<Builder<'a>, Error>
pub fn set_firmware_version(&mut self, value: &str)
pub fn init_firmware_version(self, size: u32) -> Builder<'a>
pub fn has_firmware_version(&self) -> bool
pub fn get_device_vendor(self) -> Result<Builder<'a>, Error>
pub fn set_device_vendor(&mut self, value: &str)
pub fn init_device_vendor(self, size: u32) -> Builder<'a>
pub fn has_device_vendor(&self) -> bool
Trait Implementations§
source§impl<'a> FromPointerBuilder<'a> for Builder<'a>
impl<'a> FromPointerBuilder<'a> for Builder<'a>
fn init_pointer(builder: PointerBuilder<'a>, _size: u32) -> Builder<'a>
fn get_from_pointer( builder: PointerBuilder<'a>, default: Option<&'a [Word]> ) -> Result<Builder<'a>, Error>
source§impl<'a> FromStructBuilder<'a> for Builder<'a>
impl<'a> FromStructBuilder<'a> for Builder<'a>
fn new(builder: StructBuilder<'a>) -> Builder<'a>
source§impl<'a> HasStructSize for Builder<'a>
impl<'a> HasStructSize for Builder<'a>
fn struct_size() -> StructSize
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> !UnwindSafe for Builder<'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