Struct x11rb_protocol::protocol::xkb::Behavior
source · pub struct Behavior(/* private fields */);
Implementations§
source§impl Behavior
impl Behavior
pub fn as_common(&self) -> CommonBehavior
pub fn as_default(&self) -> DefaultBehavior
pub fn as_lock(&self) -> LockBehavior
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) -> PermamentLockBehavior
pub fn as_permament_radio_group(&self) -> PermamentRadioGroupBehavior
pub fn as_permament_overlay1(&self) -> PermamentOverlayBehavior
pub fn as_permament_overlay2(&self) -> PermamentOverlayBehavior
pub fn as_type(&self) -> u8
Trait Implementations§
source§impl<'de> Deserialize<'de> for Behavior
impl<'de> Deserialize<'de> for Behavior
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 From<CommonBehavior> for Behavior
impl From<CommonBehavior> for Behavior
source§fn from(common: CommonBehavior) -> Self
fn from(common: CommonBehavior) -> Self
Converts to this type from the input type.
source§impl From<DefaultBehavior> for Behavior
impl From<DefaultBehavior> for Behavior
source§fn from(default: DefaultBehavior) -> Self
fn from(default: DefaultBehavior) -> Self
Converts to this type from the input type.
source§impl From<OverlayBehavior> for Behavior
impl From<OverlayBehavior> for Behavior
source§fn from(overlay1: OverlayBehavior) -> Self
fn from(overlay1: OverlayBehavior) -> Self
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) -> Self
fn from(radio_group: RadioGroupBehavior) -> Self
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<RawFdContainer>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more