#[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 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 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§impl PartialOrd for DialogType
impl PartialOrd for DialogType
Source§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 StructuralPartialEq for DialogType
Auto Trait Implementations§
impl Freeze for DialogType
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
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