Struct mission2teegarden_b_map::story::Speech
source · pub struct Speech {
pub text: String,
pub profil: Option<Character>,
pub background: Option<Background>,
}
Fields§
§text: String
The text, which should be show at the botton of the screen.
profil: Option<Character>
Profile picture of the speaking character
background: Option<Background>
Background picture, which is shown during the speech
Trait Implementations§
source§impl<'de> Deserialize<'de> for Speech
impl<'de> Deserialize<'de> for Speech
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 PartialEq<Speech> for Speech
impl PartialEq<Speech> for Speech
impl Eq for Speech
impl StructuralEq for Speech
impl StructuralPartialEq for Speech
Auto Trait Implementations§
impl RefUnwindSafe for Speech
impl Send for Speech
impl Sync for Speech
impl Unpin for Speech
impl UnwindSafe for Speech
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