Enum esl::DialogType
source · #[repr(u8)]
pub enum DialogType {
Topic,
Voice,
Greeting,
Persuasion,
Journal,
}
Variants
Topic
Voice
Greeting
Persuasion
Journal
Implementations
Trait Implementations
sourceimpl Clone for DialogType
impl Clone for DialogType
sourcefn clone(&self) -> DialogType
fn clone(&self) -> DialogType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DialogType
impl Debug for DialogType
sourceimpl<'de> Deserialize<'de> for DialogType
impl<'de> Deserialize<'de> for DialogType
sourcefn 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
sourceimpl Display for DialogType
impl Display for DialogType
sourcefn 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
sourceimpl From<DialogType> for Field
impl From<DialogType> for Field
sourcefn from(v: DialogType) -> Self
fn from(v: DialogType) -> Self
Converts to this type from the input type.
sourceimpl FromStr for DialogType
impl FromStr for DialogType
sourceimpl Hash for DialogType
impl Hash for DialogType
sourceimpl Ord for DialogType
impl Ord for DialogType
sourcefn cmp(&self, other: &DialogType) -> Ordering
fn cmp(&self, other: &DialogType) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<DialogType> for DialogType
impl PartialEq<DialogType> for DialogType
sourcefn eq(&self, other: &DialogType) -> bool
fn eq(&self, other: &DialogType) -> bool
sourceimpl PartialOrd<DialogType> for DialogType
impl PartialOrd<DialogType> for DialogType
sourcefn partial_cmp(&self, other: &DialogType) -> Option<Ordering>
fn partial_cmp(&self, other: &DialogType) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Serialize for DialogType
impl Serialize 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more