Struct ux::Style [−][src]
pub struct Style { /* fields omitted */ }
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Style
impl !RefUnwindSafe for Style
impl UnwindSafe for Style
impl UnwindSafe for Style
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<O> StyleExt for O where
O: Is<Style>,
[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.
pub fn load_from_resource(&self, path: &str) -> Result<(), Error>
[src]
pub fn connect_changed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,