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