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 const fn new() -> ShutterCmd
pub const fn new() -> ShutterCmd
Creates a new ShutterCmd.
Sourcepub const fn create(val: bool) -> ShutterCmd
pub const fn create(val: bool) -> ShutterCmd
Creates a new ShutterCmd from the provided parameter.
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<ShutterCmd, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ShutterCmd, <__D as Deserializer<'de>>::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) -> XfsMember
fn from(val: &ShutterCmd) -> XfsMember
Converts to this type from the input type.
Source§impl From<&ShutterCmd> for XfsValue
impl From<&ShutterCmd> for XfsValue
Source§fn from(val: &ShutterCmd) -> XfsValue
fn from(val: &ShutterCmd) -> XfsValue
Converts to this type from the input type.
Source§impl From<&bool> for ShutterCmd
impl From<&bool> for ShutterCmd
Source§fn from(val: &bool) -> ShutterCmd
fn from(val: &bool) -> ShutterCmd
Converts to this type from the input type.
Source§impl From<&u8> for ShutterCmd
impl From<&u8> for ShutterCmd
Source§fn from(val: &u8) -> ShutterCmd
fn from(val: &u8) -> ShutterCmd
Converts to this type from the input type.
Source§impl From<ShutterCmd> for XfsMember
impl From<ShutterCmd> for XfsMember
Source§fn from(val: ShutterCmd) -> XfsMember
fn from(val: ShutterCmd) -> XfsMember
Converts to this type from the input type.
Source§impl From<ShutterCmd> for XfsValue
impl From<ShutterCmd> for XfsValue
Source§fn from(val: ShutterCmd) -> XfsValue
fn from(val: ShutterCmd) -> XfsValue
Converts to this type from the input type.
Source§impl From<bool> for ShutterCmd
impl From<bool> for ShutterCmd
Source§fn from(val: bool) -> ShutterCmd
fn from(val: bool) -> ShutterCmd
Converts to this type from the input type.
Source§impl From<u8> for ShutterCmd
impl From<u8> for ShutterCmd
Source§fn from(val: u8) -> ShutterCmd
fn from(val: u8) -> ShutterCmd
Converts to this type from the input type.
Source§impl PartialEq for ShutterCmd
impl PartialEq for ShutterCmd
Source§impl Serialize for ShutterCmd
impl Serialize for ShutterCmd
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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