[−][src]Struct glk::types::style
Newtype for Glk style
Methods
impl style
[src]
pub const Normal: Self
[src]
The style of normal or body text. A new window or stream always starts with style_Normal as
- the current style.
pub const Emphasized: Self
[src]
Text which is emphasized.
pub const Preformatted: Self
[src]
Text which has a particular arrangement of characters.
pub const Header: Self
[src]
Text which introduces a large section. This is suitable for the title of an entire game, or
- a major division such as a chapter.
pub const Subheader: Self
[src]
Text which introduces a smaller section within a large section.
pub const Alert: Self
[src]
Text which warns of a dangerous condition, or one which the player should pay attention to.
pub const Note: Self
[src]
Text which notifies of an interesting condition.
pub const BlockQuote: Self
[src]
Text which forms a quotation or otherwise abstracted text.
pub const Input: Self
[src]
Text which the player has entered. You should generally not use this style at all, except
- when simulating user input from a file.
pub const User1: Self
[src]
This style has no particular semantic meaning. You may define a meaning relevant to your
- own work, and use it as you see fit.
pub const User2: Self
[src]
Another style available for your use.
pub const NUMSTYLES: Self
[src]
Number of pre-defined styles, for defining fixed-size arrays.
Trait Implementations
impl Clone for style
[src]
impl Copy for style
[src]
impl Eq for style
[src]
impl PartialEq<style> for style
[src]
impl Debug for style
[src]
impl StructuralPartialEq for style
[src]
impl StructuralEq for style
[src]
Auto Trait Implementations
impl Send for style
impl Sync for style
impl Unpin for style
impl UnwindSafe for style
impl RefUnwindSafe for style
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,