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