pub enum DialogItem {
Unknown(UnknownDialogItem),
UserItem(UserItem),
HelpItem(HelpItem),
Button(Button),
CheckBox(CheckBox),
RadioButton(RadioButton),
Control(Control),
StaticText(StaticText),
TextField(TextField),
Icon(Icon),
Picture(Picture),
}Variants§
Unknown(UnknownDialogItem)
UserItem(UserItem)
HelpItem(HelpItem)
Button(Button)
CheckBox(CheckBox)
RadioButton(RadioButton)
Control(Control)
StaticText(StaticText)
TextField(TextField)
Icon(Icon)
Picture(Picture)
Implementations§
Trait Implementations§
Source§impl BinRead for DialogItem
impl BinRead for DialogItem
Source§fn read_options<R: Read + Seek>(
reader: &mut R,
_: Endian,
_: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( reader: &mut R, _: Endian, _: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Clone for DialogItem
impl Clone for DialogItem
Source§fn clone(&self) -> DialogItem
fn clone(&self) -> DialogItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DialogItem
impl Debug for DialogItem
Source§impl<'de> Deserialize<'de> for DialogItem
impl<'de> Deserialize<'de> for DialogItem
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
Auto Trait Implementations§
impl Freeze for DialogItem
impl RefUnwindSafe for DialogItem
impl Send for DialogItem
impl Sync for DialogItem
impl Unpin for DialogItem
impl UnsafeUnpin for DialogItem
impl UnwindSafe for DialogItem
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more