Struct chrome_remote_interface_model::css::CssPropertyBuilder [−][src]
Implementations
impl CssPropertyBuilder[src]
pub fn name(&mut self, v: String) -> &mut Self[src]
The property name.
pub fn value(&mut self, v: String) -> &mut Self[src]
The property value.
pub fn important(&mut self, v: bool) -> &mut Self[src]
Whether the property has "!important" annotation (implies false if absent).
pub fn implicit(&mut self, v: bool) -> &mut Self[src]
Whether the property is implicit (implies false if absent).
pub fn text(&mut self, v: String) -> &mut Self[src]
The full property text as specified in the style.
pub fn parsed_ok(&mut self, v: bool) -> &mut Self[src]
Whether the property is understood by the browser (implies true if absent).
pub fn disabled(&mut self, v: bool) -> &mut Self[src]
Whether the property is disabled by the user (present for source-based properties only).
pub fn range(&mut self, v: SourceRange) -> &mut Self[src]
The entire property range in the enclosing style declaration (if available).
pub fn build(&mut self) -> Result<CssProperty, &'static str>[src]
Trait Implementations
impl Clone for CssPropertyBuilder[src]
fn clone(&self) -> CssPropertyBuilder[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for CssPropertyBuilder[src]
impl Default for CssPropertyBuilder[src]
Auto Trait Implementations
impl RefUnwindSafe for CssPropertyBuilder[src]
impl Send for CssPropertyBuilder[src]
impl Sync for CssPropertyBuilder[src]
impl Unpin for CssPropertyBuilder[src]
impl UnwindSafe for CssPropertyBuilder[src]
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<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, 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>,