Struct Behavior
pub struct Behavior(/* private fields */);
Implementations§
§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§
§impl From<CommonBehavior> for Behavior
impl From<CommonBehavior> for Behavior
§fn from(common: CommonBehavior) -> Behavior
fn from(common: CommonBehavior) -> Behavior
Converts to this type from the input type.
§impl From<DefaultBehavior> for Behavior
impl From<DefaultBehavior> for Behavior
§fn from(default: DefaultBehavior) -> Behavior
fn from(default: DefaultBehavior) -> Behavior
Converts to this type from the input type.
§impl From<OverlayBehavior> for Behavior
impl From<OverlayBehavior> for Behavior
§fn from(overlay1: OverlayBehavior) -> Behavior
fn from(overlay1: OverlayBehavior) -> Behavior
Converts to this type from the input type.
§impl From<RadioGroupBehavior> for Behavior
impl From<RadioGroupBehavior> for Behavior
§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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
§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