[−][src]Struct guion_sdl2::style::Style
Trait Implementations
impl AsRefMut<Style> for Style
[src]
impl Clone for Style
[src]
impl Default for Style
[src]
impl<E> Style<E> for Style where
E: Env + EnvFlexStyleVariant + Sync,
E::Backend: GuionBackend<E, Style = Self>,
E::StyleVariant: Into<StdStyleVariant>,
E::Context: AsRefMut<Core<E>>,
[src]
E: Env + EnvFlexStyleVariant + Sync,
E::Backend: GuionBackend<E, Style = Self>,
E::StyleVariant: Into<StdStyleVariant>,
E::Context: AsRefMut<Core<E>>,
type Font = Font
type Cursor = StdCursor
type Color = Color
type PreprocessedText = PPText
type PreprocessedChar = PPChar
type Variant = E::StyleVariant
fn font(&self, v: &Self::Variant) -> Option<&Self::Font>
[src]
fn cursor(&self, v: &Self::Variant) -> Self::Cursor
[src]
fn color(&self, v: &Self::Variant) -> Self::Color
[src]
fn preprocess_text(&self, s: &str, c: &mut E::Context) -> Self::PreprocessedText
[src]
fn is_cached_valid(
&self,
s: &Self::PreprocessedText,
_c: &mut E::Context
) -> bool
[src]
&self,
s: &Self::PreprocessedText,
_c: &mut E::Context
) -> bool
fn static_default() -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, I> AsRefMut<I> for T where
T: AsRef<I> + AsMut<I>,
[src]
T: AsRef<I> + AsMut<I>,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,