pub struct Behavior([u8; 2]);
Tuple Fields§
§0: [u8; 2]
Implementations§
source§impl Behavior
impl Behavior
pub fn as_common(&self) -> CommonBehavior
pub fn as_default(&self) -> DefaultBehavior
pub fn as_lock(&self) -> DefaultBehavior
pub fn as_radio_group(&self) -> RadioGroupBehavior
pub fn as_overlay1(&self) -> OverlayBehavior
pub fn as_overlay2(&self) -> OverlayBehavior
pub fn as_permament_lock(&self) -> DefaultBehavior
pub fn as_permament_radio_group(&self) -> RadioGroupBehavior
pub fn as_permament_overlay1(&self) -> OverlayBehavior
pub fn as_permament_overlay2(&self) -> OverlayBehavior
pub fn as_type(&self) -> u8
Trait Implementations§
source§impl From<CommonBehavior> for Behavior
impl From<CommonBehavior> for Behavior
source§fn from(common: CommonBehavior) -> Behavior
fn from(common: CommonBehavior) -> Behavior
Converts to this type from the input type.
source§impl From<DefaultBehavior> for Behavior
impl From<DefaultBehavior> for Behavior
source§fn from(default: DefaultBehavior) -> Behavior
fn from(default: DefaultBehavior) -> Behavior
Converts to this type from the input type.
source§impl From<OverlayBehavior> for Behavior
impl From<OverlayBehavior> for Behavior
source§fn from(overlay1: OverlayBehavior) -> Behavior
fn from(overlay1: OverlayBehavior) -> Behavior
Converts to this type from the input type.
source§impl From<RadioGroupBehavior> for Behavior
impl From<RadioGroupBehavior> for Behavior
source§fn from(radio_group: RadioGroupBehavior) -> Behavior
fn from(radio_group: RadioGroupBehavior) -> Behavior
Converts to this type from the input type.
impl Copy for Behavior
Auto Trait Implementations§
impl Freeze for Behavior
impl RefUnwindSafe for Behavior
impl Send for Behavior
impl Sync for Behavior
impl Unpin for Behavior
impl UnwindSafe for Behavior
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
source§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>,
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd>, ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more