[−][src]Enum polyhorn_ios::font::FontFamily
Controls the font family that produces the glyphs that are drawn for a text.
Variants
Generic(GenericFontFamily)
This is a system-dependent font family in the given generic category.
This is a specific font family referred to by its PostScript name.
Trait Implementations
impl<S> Clone for FontFamily<S> where
S: Clone,
[src]
S: Clone,
pub fn clone(&self) -> FontFamily<S>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S> Copy for FontFamily<S> where
S: Copy,
[src]
S: Copy,
impl<S> Debug for FontFamily<S> where
S: Debug,
[src]
S: Debug,
impl<S> Eq for FontFamily<S> where
S: Eq,
[src]
S: Eq,
impl<S> FromStr for FontFamily<S>
[src]
type Err = <GenericFontFamily as FromStr>::Err
The associated error which can be returned from parsing.
pub fn from_str(
s: &str
) -> Result<FontFamily<S>, <FontFamily<S> as FromStr>::Err>
[src]
s: &str
) -> Result<FontFamily<S>, <FontFamily<S> as FromStr>::Err>
impl<S> PartialEq<FontFamily<S>> for FontFamily<S> where
S: PartialEq<S>,
[src]
S: PartialEq<S>,
pub fn eq(&self, other: &FontFamily<S>) -> bool
[src]
pub fn ne(&self, other: &FontFamily<S>) -> bool
[src]
impl<S> StructuralEq for FontFamily<S>
[src]
impl<S> StructuralPartialEq for FontFamily<S>
[src]
impl<T> ToTokens for FontFamily<T> where
T: ToTokens,
[src]
T: ToTokens,
pub fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for FontFamily<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for FontFamily<S> where
S: Send,
S: Send,
impl<S> Sync for FontFamily<S> where
S: Sync,
S: Sync,
impl<S> Unpin for FontFamily<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for FontFamily<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
pub fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
pub fn adapt_into(self) -> D
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
pub fn type_name(&self) -> &'static str
[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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> ConvertInto<U> for T where
U: ConvertFrom<T>,
[src]
U: ConvertFrom<T>,
pub fn convert_into(self) -> U
[src]
pub fn convert_unclamped_into(self) -> U
[src]
pub fn try_convert_into(self) -> Result<U, OutOfBounds<U>>
[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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,