Struct ux::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]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<O> StyleExt for O where
O: Is<Style>,
[src]
O: Is<Style>,
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<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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,