#[repr(C)]pub struct ShutterCmd(/* private fields */);
Expand description
The shutter be accessed by commands. Allways FALSE in the BNR.
Implementations§
Source§impl ShutterCmd
impl ShutterCmd
Sourcepub fn into_inner(self) -> bool
pub fn into_inner(self) -> bool
Converts into the inner representation of ShutterCmd
.
Trait Implementations§
Source§impl Clone for ShutterCmd
impl Clone for ShutterCmd
Source§fn clone(&self) -> ShutterCmd
fn clone(&self) -> ShutterCmd
Returns a duplicate 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 ShutterCmd
impl Debug for ShutterCmd
Source§impl Default for ShutterCmd
impl Default for ShutterCmd
Source§fn default() -> ShutterCmd
fn default() -> ShutterCmd
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShutterCmd
impl<'de> Deserialize<'de> for ShutterCmd
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ShutterCmd
impl Display for ShutterCmd
Source§impl From<&ShutterCmd> for XfsMember
impl From<&ShutterCmd> for XfsMember
Source§fn from(val: &ShutterCmd) -> Self
fn from(val: &ShutterCmd) -> Self
Converts to this type from the input type.
Source§impl From<&ShutterCmd> for XfsValue
impl From<&ShutterCmd> for XfsValue
Source§fn from(val: &ShutterCmd) -> Self
fn from(val: &ShutterCmd) -> Self
Converts to this type from the input type.
Source§impl From<&ShutterCmd> for bool
impl From<&ShutterCmd> for bool
Source§fn from(val: &ShutterCmd) -> Self
fn from(val: &ShutterCmd) -> Self
Converts to this type from the input type.
Source§impl From<&ShutterCmd> for u8
impl From<&ShutterCmd> for u8
Source§fn from(val: &ShutterCmd) -> Self
fn from(val: &ShutterCmd) -> Self
Converts to this type from the input type.
Source§impl From<&bool> for ShutterCmd
impl From<&bool> for ShutterCmd
Source§impl From<&u8> for ShutterCmd
impl From<&u8> for ShutterCmd
Source§impl From<ShutterCmd> for XfsMember
impl From<ShutterCmd> for XfsMember
Source§fn from(val: ShutterCmd) -> Self
fn from(val: ShutterCmd) -> Self
Converts to this type from the input type.
Source§impl From<ShutterCmd> for XfsValue
impl From<ShutterCmd> for XfsValue
Source§fn from(val: ShutterCmd) -> Self
fn from(val: ShutterCmd) -> Self
Converts to this type from the input type.
Source§impl From<ShutterCmd> for bool
impl From<ShutterCmd> for bool
Source§fn from(val: ShutterCmd) -> Self
fn from(val: ShutterCmd) -> Self
Converts to this type from the input type.
Source§impl From<ShutterCmd> for u8
impl From<ShutterCmd> for u8
Source§fn from(val: ShutterCmd) -> Self
fn from(val: ShutterCmd) -> Self
Converts to this type from the input type.
Source§impl From<bool> for ShutterCmd
impl From<bool> for ShutterCmd
Source§impl From<u8> for ShutterCmd
impl From<u8> for ShutterCmd
Source§impl PartialEq for ShutterCmd
impl PartialEq for ShutterCmd
Source§impl Serialize for ShutterCmd
impl Serialize for ShutterCmd
Source§impl TryFrom<&XfsMember> for ShutterCmd
impl TryFrom<&XfsMember> for ShutterCmd
Source§impl TryFrom<&XfsValue> for ShutterCmd
impl TryFrom<&XfsValue> for ShutterCmd
Source§impl TryFrom<XfsMember> for ShutterCmd
impl TryFrom<XfsMember> for ShutterCmd
Source§impl TryFrom<XfsValue> for ShutterCmd
impl TryFrom<XfsValue> for ShutterCmd
impl Copy for ShutterCmd
impl StructuralPartialEq for ShutterCmd
Auto Trait Implementations§
impl Freeze for ShutterCmd
impl RefUnwindSafe for ShutterCmd
impl Send for ShutterCmd
impl Sync for ShutterCmd
impl Unpin for ShutterCmd
impl UnwindSafe for ShutterCmd
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