#[repr(C)]pub struct ShutterStatusSupported(/* private fields */);
Expand description
Specifies whether shutter status reporting is supported.
Implementations§
Source§impl ShutterStatusSupported
impl ShutterStatusSupported
Sourcepub const fn create(val: bool) -> Self
pub const fn create(val: bool) -> Self
Creates a new ShutterStatusSupported
from the provided parameter.
Sourcepub fn set_inner(&mut self, val: bool)
pub fn set_inner(&mut self, val: bool)
Sets the inner representation of ShutterStatusSupported
.
Sourcepub fn into_inner(self) -> bool
pub fn into_inner(self) -> bool
Converts into the inner representation of ShutterStatusSupported
.
Trait Implementations§
Source§impl Clone for ShutterStatusSupported
impl Clone for ShutterStatusSupported
Source§fn clone(&self) -> ShutterStatusSupported
fn clone(&self) -> ShutterStatusSupported
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 ShutterStatusSupported
impl Debug for ShutterStatusSupported
Source§impl Default for ShutterStatusSupported
impl Default for ShutterStatusSupported
Source§fn default() -> ShutterStatusSupported
fn default() -> ShutterStatusSupported
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShutterStatusSupported
impl<'de> Deserialize<'de> for ShutterStatusSupported
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 ShutterStatusSupported
impl Display for ShutterStatusSupported
Source§impl From<&ShutterStatusSupported> for XfsMember
impl From<&ShutterStatusSupported> for XfsMember
Source§fn from(val: &ShutterStatusSupported) -> Self
fn from(val: &ShutterStatusSupported) -> Self
Converts to this type from the input type.
Source§impl From<&ShutterStatusSupported> for XfsValue
impl From<&ShutterStatusSupported> for XfsValue
Source§fn from(val: &ShutterStatusSupported) -> Self
fn from(val: &ShutterStatusSupported) -> Self
Converts to this type from the input type.
Source§impl From<&ShutterStatusSupported> for bool
impl From<&ShutterStatusSupported> for bool
Source§fn from(val: &ShutterStatusSupported) -> Self
fn from(val: &ShutterStatusSupported) -> Self
Converts to this type from the input type.
Source§impl From<&ShutterStatusSupported> for u8
impl From<&ShutterStatusSupported> for u8
Source§fn from(val: &ShutterStatusSupported) -> Self
fn from(val: &ShutterStatusSupported) -> Self
Converts to this type from the input type.
Source§impl From<&bool> for ShutterStatusSupported
impl From<&bool> for ShutterStatusSupported
Source§impl From<&u8> for ShutterStatusSupported
impl From<&u8> for ShutterStatusSupported
Source§impl From<ShutterStatusSupported> for XfsMember
impl From<ShutterStatusSupported> for XfsMember
Source§fn from(val: ShutterStatusSupported) -> Self
fn from(val: ShutterStatusSupported) -> Self
Converts to this type from the input type.
Source§impl From<ShutterStatusSupported> for XfsValue
impl From<ShutterStatusSupported> for XfsValue
Source§fn from(val: ShutterStatusSupported) -> Self
fn from(val: ShutterStatusSupported) -> Self
Converts to this type from the input type.
Source§impl From<ShutterStatusSupported> for bool
impl From<ShutterStatusSupported> for bool
Source§fn from(val: ShutterStatusSupported) -> Self
fn from(val: ShutterStatusSupported) -> Self
Converts to this type from the input type.
Source§impl From<ShutterStatusSupported> for u8
impl From<ShutterStatusSupported> for u8
Source§fn from(val: ShutterStatusSupported) -> Self
fn from(val: ShutterStatusSupported) -> Self
Converts to this type from the input type.
Source§impl From<bool> for ShutterStatusSupported
impl From<bool> for ShutterStatusSupported
Source§impl From<u8> for ShutterStatusSupported
impl From<u8> for ShutterStatusSupported
Source§impl PartialEq for ShutterStatusSupported
impl PartialEq for ShutterStatusSupported
Source§impl Serialize for ShutterStatusSupported
impl Serialize for ShutterStatusSupported
Source§impl TryFrom<&XfsMember> for ShutterStatusSupported
impl TryFrom<&XfsMember> for ShutterStatusSupported
Source§impl TryFrom<&XfsValue> for ShutterStatusSupported
impl TryFrom<&XfsValue> for ShutterStatusSupported
Source§impl TryFrom<XfsMember> for ShutterStatusSupported
impl TryFrom<XfsMember> for ShutterStatusSupported
Source§impl TryFrom<XfsValue> for ShutterStatusSupported
impl TryFrom<XfsValue> for ShutterStatusSupported
impl Copy for ShutterStatusSupported
impl StructuralPartialEq for ShutterStatusSupported
Auto Trait Implementations§
impl Freeze for ShutterStatusSupported
impl RefUnwindSafe for ShutterStatusSupported
impl Send for ShutterStatusSupported
impl Sync for ShutterStatusSupported
impl Unpin for ShutterStatusSupported
impl UnwindSafe for ShutterStatusSupported
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