[−][src]Struct azul_css::CssRuleBlock
One block of rules that applies a bunch of rules to a "path" in the style, i.e.
div#myid.myclass -> { ("justify-content", "center") }
Fields
path: CssPath
The css path (full selector) of the style ruleset
declarations: Vec<CssDeclaration>
"justify-content: center"
=>
CssDeclaration::Static(CssProperty::JustifyContent(LayoutJustifyContent::Center))
Implementations
impl CssRuleBlock
[src]
pub const fn new(path: CssPath, declarations: Vec<CssDeclaration>) -> Self
[src]
Trait Implementations
impl Clone for CssRuleBlock
[src]
fn clone(&self) -> CssRuleBlock
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CssRuleBlock
[src]
impl PartialEq<CssRuleBlock> for CssRuleBlock
[src]
fn eq(&self, other: &CssRuleBlock) -> bool
[src]
fn ne(&self, other: &CssRuleBlock) -> bool
[src]
impl PartialOrd<CssRuleBlock> for CssRuleBlock
[src]
fn partial_cmp(&self, other: &CssRuleBlock) -> Option<Ordering>
[src]
fn lt(&self, other: &CssRuleBlock) -> bool
[src]
fn le(&self, other: &CssRuleBlock) -> bool
[src]
fn gt(&self, other: &CssRuleBlock) -> bool
[src]
fn ge(&self, other: &CssRuleBlock) -> bool
[src]
impl StructuralPartialEq for CssRuleBlock
[src]
Auto Trait Implementations
impl RefUnwindSafe for CssRuleBlock
impl Send for CssRuleBlock
impl Sync for CssRuleBlock
impl Unpin for CssRuleBlock
impl UnwindSafe for CssRuleBlock
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,
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<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,