pub struct Subdevice(File);
Tuple Fields§
§0: File
Implementations§
Source§impl Subdevice
impl Subdevice
pub fn enum_mbus_code( &self, _io: &mut Io, pad: u32, ) -> Result<Vec<SubdeviceMbusCode>>
pub fn enum_frame_size( &self, _io: &mut Io, pad: u32, code: MediaBusFmt, ) -> Result<Vec<SubdeviceFrameSize>>
pub fn get_format(&self, _io: &mut Io, pad: u32) -> Result<MbusFrameFormat>
pub fn set_format( &mut self, _io: &mut Io, pad: u32, format: MbusFrameFormat, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for Subdevice
impl RefUnwindSafe for Subdevice
impl Send for Subdevice
impl Sync for Subdevice
impl Unpin for Subdevice
impl UnwindSafe for Subdevice
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