pub struct ToggleButton;Expand description
The role type for Role::ToggleButton, selector name togglebutton.
Trait Implementations§
Source§impl Clone for ToggleButton
impl Clone for ToggleButton
impl Copy for ToggleButton
Source§impl Debug for ToggleButton
impl Debug for ToggleButton
Source§impl Default for ToggleButton
impl Default for ToggleButton
impl Eq for ToggleButton
Source§impl Hash for ToggleButton
impl Hash for ToggleButton
Source§impl PartialEq for ToggleButton
impl PartialEq for ToggleButton
impl Pressable for ToggleButton
Source§impl RoleKind for ToggleButton
impl RoleKind for ToggleButton
Source§impl RoleType for ToggleButton
impl RoleType for ToggleButton
Source§const ROLE_VALUE: Role = Role::ToggleButton
const ROLE_VALUE: Role = Role::ToggleButton
The runtime role this type stands for.
impl StructuralPartialEq for ToggleButton
Source§impl TryFrom<Role> for ToggleButton
impl TryFrom<Role> for ToggleButton
Source§type Error = RoleMismatch
type Error = RoleMismatch
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for ToggleButton
impl Freeze for ToggleButton
impl Move for ToggleButton
impl RefUnwindSafe for ToggleButton
impl Send for ToggleButton
impl Sync for ToggleButton
impl Unpin for ToggleButton
impl UnsafeUnpin for ToggleButton
impl UnwindSafe for ToggleButton
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