[][src]Struct qni_core_rs::protos::qni_api::Font

pub struct Font {
    pub font_family: String,
    pub font_size: f32,
    pub font_style: u32,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

font_family: Stringfont_size: f32font_style: u32unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl Font[src]

pub fn new() -> Font[src]

pub fn get_font_family(&self) -> &str[src]

pub fn clear_font_family(&mut self)[src]

pub fn set_font_family(&mut self, v: String)[src]

pub fn mut_font_family(&mut self) -> &mut String[src]

pub fn take_font_family(&mut self) -> String[src]

pub fn get_font_size(&self) -> f32[src]

pub fn clear_font_size(&mut self)[src]

pub fn set_font_size(&mut self, v: f32)[src]

pub fn get_font_style(&self) -> u32[src]

pub fn clear_font_style(&mut self)[src]

pub fn set_font_style(&mut self, v: u32)[src]

Trait Implementations

impl Clone for Font[src]

impl Default for Font[src]

impl<'a> Default for &'a Font[src]

impl PartialEq<Font> for Font[src]

impl Debug for Font[src]

impl StructuralPartialEq for Font[src]

impl Message for Font[src]

impl Clear for Font[src]

impl ProtobufValue for Font[src]

Auto Trait Implementations

impl Send for Font

impl Sync for Font

impl Unpin for Font

impl UnwindSafe for Font

impl RefUnwindSafe for Font

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]