pub struct RichDisplay {
pub pictures: bool,
pub sounds: bool,
pub show_pictures: bool,
pub play_sounds: bool,
pub play_music: bool,
pub links: bool,
}Expand description
What a rich display can do, and what the player has chosen.
Fields§
§pictures: boolPictures: JPEG, PNG, SVG, and WebP.
sounds: boolSounds: WAV, Ogg, and MP3.
show_pictures: boolThe player wants pictures shown.
play_sounds: boolThe player wants sounds played.
play_music: boolThe player wants music played.
links: boolThe player wants links in the text.
Implementations§
Source§impl RichDisplay
impl RichDisplay
Trait Implementations§
Source§impl Clone for RichDisplay
impl Clone for RichDisplay
impl Copy for RichDisplay
Source§impl Debug for RichDisplay
impl Debug for RichDisplay
impl Eq for RichDisplay
Source§impl PartialEq for RichDisplay
impl PartialEq for RichDisplay
impl StructuralPartialEq for RichDisplay
Auto Trait Implementations§
impl Forget for RichDisplay
impl Freeze for RichDisplay
impl Move for RichDisplay
impl RefUnwindSafe for RichDisplay
impl Send for RichDisplay
impl Sync for RichDisplay
impl Unpin for RichDisplay
impl UnsafeUnpin for RichDisplay
impl UnwindSafe for RichDisplay
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