Enum esl::DialogType
source · #[repr(u8)]pub enum DialogType {
Topic = 0,
Voice = 1,
Greeting = 2,
Persuasion = 3,
Journal = 4,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for DialogType
impl Clone for DialogType
source§fn clone(&self) -> DialogType
fn clone(&self) -> DialogType
Returns a copy 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 DialogType
impl Debug for DialogType
source§impl<'de> Deserialize<'de> for DialogType
impl<'de> Deserialize<'de> for DialogType
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 Hash for DialogType
impl Hash for DialogType
source§impl Ord for DialogType
impl Ord for DialogType
source§fn cmp(&self, other: &DialogType) -> Ordering
fn cmp(&self, other: &DialogType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DialogType
impl PartialEq for DialogType
source§fn eq(&self, other: &DialogType) -> bool
fn eq(&self, other: &DialogType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DialogType
impl PartialOrd for DialogType
source§fn partial_cmp(&self, other: &DialogType) -> Option<Ordering>
fn partial_cmp(&self, other: &DialogType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for DialogType
impl Serialize for DialogType
source§impl From<DialogType> for Field
impl From<DialogType> for Field
source§fn from(v: DialogType) -> Self
fn from(v: DialogType) -> Self
Converts to this type from the input type.
source§impl Display for DialogType
impl Display for DialogType
source§fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
Formats the value using the given formatter. Read more
source§impl FromStr for DialogType
impl FromStr for DialogType
impl Copy for DialogType
impl Eq for DialogType
impl StructuralEq for DialogType
impl StructuralPartialEq for DialogType
Auto Trait Implementations§
impl RefUnwindSafe for DialogType
impl Send for DialogType
impl Sync for DialogType
impl Unpin for DialogType
impl UnwindSafe for DialogType
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