pub struct TutorialStep {
pub checkpoint: bool,
pub strings: Option<String>,
pub pre: String,
pub post: String,
pub images: Vec<Option<String>>,
pub setups: Vec<Option<String>>,
pub goals: Vec<Option<String>>,
}Expand description
TutorialStep: a checkpoint (a loaded game resumes at the latest one), the string table, the
texts before and after, images, setups, goals.
Original: FUN_1400e69f0, FUN_1400e7280.
Fields§
§checkpoint: boolWhether this is a checkpoint (a loaded game resumes at the latest one).
strings: Option<String>The string table.
pre: StringThe text before.
post: StringThe text after.
images: Vec<Option<String>>The images.
setups: Vec<Option<String>>The set-ups.
goals: Vec<Option<String>>The goals.
Trait Implementations§
Source§impl Clone for TutorialStep
impl Clone for TutorialStep
Source§fn clone(&self) -> TutorialStep
fn clone(&self) -> TutorialStep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TutorialStep
impl Debug for TutorialStep
Source§impl Default for TutorialStep
impl Default for TutorialStep
Source§fn default() -> TutorialStep
fn default() -> TutorialStep
Returns the “default value” for a type. Read more
Source§impl PartialEq for TutorialStep
impl PartialEq for TutorialStep
impl StructuralPartialEq for TutorialStep
Auto Trait Implementations§
impl Freeze for TutorialStep
impl RefUnwindSafe for TutorialStep
impl Send for TutorialStep
impl Sync for TutorialStep
impl Unpin for TutorialStep
impl UnsafeUnpin for TutorialStep
impl UnwindSafe for TutorialStep
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