Struct ux::native::Style[][src]

pub struct Style { /* fields omitted */ }

Implementations

impl Style[src]

pub fn new() -> Style[src]

pub fn get_default() -> Option<Style>[src]

pub fn real_load_from_file(&self, filename: &str, data: &str) -> bool[src]

Trait Implementations

impl AsRef<Style> for Style[src]

impl Clone for Style[src]

impl Debug for Style[src]

impl Default for Style[src]

impl Display for Style[src]

impl Is<Style> for Style[src]

impl Object for Style[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]

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

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

impl<T> Construction<T> for T where
    T: Default + Clone
[src]

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

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

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 
[src]

impl<O> StyleExt for O where
    O: Is<Style>, 
[src]

pub fn load_from_data(&self, id: &str, data: &str) -> Result<(), Error>[src]

load_from_data: @style: a #Style @d: identifier of the style sheet to load @data: CSS data to parse @error: a #GError or #None

Load style information from @data, using @id to identify the stylesheet. @id is usually the file name of the style sheet, which is used in the search path when loading url resources.

returns: #true if the style information was loaded successfully. Returns #false on error.

pub fn load_from_file(&self, filename: &str) -> Result<(), Error>[src]

load_from_file: @style: a #Style @filename: filename of the style sheet to load @error: a #GError or #None

Load style information from the specified file.

returns: #true if the style information was loaded successfully. Returns #false on error.

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>,