pub struct DialogButton {
pub text: String,
pub style: DialogButtonStyle,
}Expand description
A dialog button.
Fields§
§text: StringLabel.
style: DialogButtonStyleLook.
Trait Implementations§
Source§impl Clone for DialogButton
impl Clone for DialogButton
Source§impl Debug for DialogButton
impl Debug for DialogButton
Source§impl<'de> Deserialize<'de> for DialogButton
impl<'de> Deserialize<'de> for DialogButton
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 PartialEq for DialogButton
impl PartialEq for DialogButton
Source§impl Serialize for DialogButton
impl Serialize for DialogButton
impl StructuralPartialEq for DialogButton
Auto Trait Implementations§
impl Forget for DialogButton
impl Freeze for DialogButton
impl Move for DialogButton
impl RefUnwindSafe for DialogButton
impl Send for DialogButtonwhere
RawVecInner: Send,
impl Sync for DialogButtonwhere
RawVecInner: Sync,
impl Unpin for DialogButton
impl UnsafeUnpin for DialogButton
impl UnwindSafe for DialogButtonwhere
RawVecInner: UnwindSafe,
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