pub struct DialogSettings {
pub menu_start_x: Option<i32>,
pub menu_start_y: Option<i32>,
pub dialog_max_menu_items: Option<i32>,
pub dialog_max_dialog_lines: Option<i32>,
pub dialog_max_text_width: Option<i32>,
pub dialog_print_text: Option<bool>,
pub dialog_use_speech: Option<bool>,
pub dialog_max_distance: Option<i32>,
pub menu_traverse_delay: Option<i32>,
}Expand description
Settings from [dialog]. Numeric codes retain their stored values.
Fields§
§dialog_max_dialog_lines: Option<i32>§dialog_max_text_width: Option<i32>§dialog_print_text: Option<bool>§dialog_use_speech: Option<bool>§dialog_max_distance: Option<i32>Trait Implementations§
Source§impl Clone for DialogSettings
impl Clone for DialogSettings
Source§impl Debug for DialogSettings
impl Debug for DialogSettings
Source§impl Default for DialogSettings
impl Default for DialogSettings
Source§impl PartialEq for DialogSettings
impl PartialEq for DialogSettings
Source§impl Serialize for DialogSettings
impl Serialize for DialogSettings
impl StructuralPartialEq for DialogSettings
Auto Trait Implementations§
impl Freeze for DialogSettings
impl RefUnwindSafe for DialogSettings
impl Send for DialogSettings
impl Sync for DialogSettings
impl Unpin for DialogSettings
impl UnsafeUnpin for DialogSettings
impl UnwindSafe for DialogSettings
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.