pub struct Toggle { /* private fields */ }Implementations§
Source§impl Toggle
impl Toggle
pub fn autofocus<T>(self, value: T) -> Self
pub fn disabled<T>(self, value: T) -> Self
pub fn drag_start_behavior<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn on_pressed<T>(self, value: T) -> Self
pub fn splash_radius<T>(self, value: T) -> Self
pub fn style<T>(self, value: T) -> Self
pub fn type_<T>(self, value: T) -> Self
pub fn value<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Into<LenraComponent> for Toggle
impl Into<LenraComponent> for Toggle
Source§fn into(self) -> LenraComponent
fn into(self) -> LenraComponent
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for Toggle
impl RefUnwindSafe for Toggle
impl Send for Toggle
impl Sync for Toggle
impl Unpin for Toggle
impl UnsafeUnpin for Toggle
impl UnwindSafe for Toggle
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