[−][src]Struct web_sys::CssRule
The CSSRule object
This API requires the following crate features to be activated: CssRule
Methods
impl CssRule[src]
impl CssRulepub fn type_(&self) -> u16 | [src] |
The type getter
This API requires the following crate features to be activated: CssRule
impl CssRule[src]
impl CssRulepub fn css_text(&self) -> String | [src] |
The cssText getter
This API requires the following crate features to be activated: CssRule
impl CssRule[src]
impl CssRulepub fn set_css_text(&self, css_text: &str) | [src] |
The cssText setter
This API requires the following crate features to be activated: CssRule
impl CssRule[src]
impl CssRulepub fn parent_rule(&self) -> Option<CssRule> | [src] |
The parentRule getter
This API requires the following crate features to be activated: CssRule
impl CssRule[src]
impl CssRulepub fn parent_style_sheet(&self) -> Option<CssStyleSheet> | [src] |
The parentStyleSheet getter
This API requires the following crate features to be activated: CssRule, CssStyleSheet
impl CssRule[src]
impl CssRulepub const STYLE_RULE: u16[src]
impl CssRule[src]
impl CssRulepub const CHARSET_RULE: u16[src]
impl CssRule[src]
impl CssRulepub const IMPORT_RULE: u16[src]
impl CssRule[src]
impl CssRulepub const MEDIA_RULE: u16[src]
impl CssRule[src]
impl CssRulepub const FONT_FACE_RULE: u16[src]
impl CssRule[src]
impl CssRuleimpl CssRule[src]
impl CssRulepub const NAMESPACE_RULE: u16[src]
impl CssRule[src]
impl CssRulepub const KEYFRAMES_RULE: u16[src]
impl CssRule[src]
impl CssRulepub const KEYFRAME_RULE: u16[src]
impl CssRule[src]
impl CssRulepub const COUNTER_STYLE_RULE: u16[src]
impl CssRule[src]
impl CssRulepub const SUPPORTS_RULE: u16[src]
impl CssRule[src]
impl CssRulepub const FONT_FEATURE_VALUES_RULE: u16[src]
Trait Implementations
impl From<CssConditionRule> for CssRule[src]
impl From<CssConditionRule> for CssRulefn from(obj: CssConditionRule) -> CssRule | [src] |
impl From<CssCounterStyleRule> for CssRule[src]
impl From<CssCounterStyleRule> for CssRulefn from(obj: CssCounterStyleRule) -> CssRule | [src] |
impl From<CssFontFaceRule> for CssRule[src]
impl From<CssFontFaceRule> for CssRulefn from(obj: CssFontFaceRule) -> CssRule | [src] |
impl From<CssFontFeatureValuesRule> for CssRule[src]
impl From<CssFontFeatureValuesRule> for CssRulefn from(obj: CssFontFeatureValuesRule) -> CssRule | [src] |
impl From<CssGroupingRule> for CssRule[src]
impl From<CssGroupingRule> for CssRulefn from(obj: CssGroupingRule) -> CssRule | [src] |
impl From<CssImportRule> for CssRule[src]
impl From<CssImportRule> for CssRulefn from(obj: CssImportRule) -> CssRule | [src] |
impl From<CssKeyframeRule> for CssRule[src]
impl From<CssKeyframeRule> for CssRulefn from(obj: CssKeyframeRule) -> CssRule | [src] |
impl From<CssKeyframesRule> for CssRule[src]
impl From<CssKeyframesRule> for CssRulefn from(obj: CssKeyframesRule) -> CssRule | [src] |
impl From<CssMediaRule> for CssRule[src]
impl From<CssMediaRule> for CssRulefn from(obj: CssMediaRule) -> CssRule | [src] |
impl From<CssNamespaceRule> for CssRule[src]
impl From<CssNamespaceRule> for CssRulefn from(obj: CssNamespaceRule) -> CssRule | [src] |
impl From<CssPageRule> for CssRule[src]
impl From<CssPageRule> for CssRulefn from(obj: CssPageRule) -> CssRule | [src] |
impl From<JsValue> for CssRule[src]
impl From<JsValue> for CssRuleimpl From<CssRule> for JsValue[src]
impl From<CssRule> for JsValueimpl From<CssRule> for Object[src]
impl From<CssRule> for Objectimpl From<CssStyleRule> for CssRule[src]
impl From<CssStyleRule> for CssRulefn from(obj: CssStyleRule) -> CssRule | [src] |
impl From<CssSupportsRule> for CssRule[src]
impl From<CssSupportsRule> for CssRulefn from(obj: CssSupportsRule) -> CssRule | [src] |
impl AsRef<CssRule> for CssConditionRule[src]
impl AsRef<CssRule> for CssConditionRuleimpl AsRef<CssRule> for CssCounterStyleRule[src]
impl AsRef<CssRule> for CssCounterStyleRuleimpl AsRef<CssRule> for CssFontFaceRule[src]
impl AsRef<CssRule> for CssFontFaceRuleimpl AsRef<CssRule> for CssFontFeatureValuesRule[src]
impl AsRef<CssRule> for CssFontFeatureValuesRuleimpl AsRef<CssRule> for CssGroupingRule[src]
impl AsRef<CssRule> for CssGroupingRuleimpl AsRef<CssRule> for CssImportRule[src]
impl AsRef<CssRule> for CssImportRuleimpl AsRef<CssRule> for CssKeyframeRule[src]
impl AsRef<CssRule> for CssKeyframeRuleimpl AsRef<CssRule> for CssKeyframesRule[src]
impl AsRef<CssRule> for CssKeyframesRuleimpl AsRef<CssRule> for CssMediaRule[src]
impl AsRef<CssRule> for CssMediaRuleimpl AsRef<CssRule> for CssNamespaceRule[src]
impl AsRef<CssRule> for CssNamespaceRuleimpl AsRef<CssRule> for CssPageRule[src]
impl AsRef<CssRule> for CssPageRuleimpl AsRef<JsValue> for CssRule[src]
impl AsRef<JsValue> for CssRuleimpl AsRef<Object> for CssRule[src]
impl AsRef<Object> for CssRuleimpl AsRef<CssRule> for CssStyleRule[src]
impl AsRef<CssRule> for CssStyleRuleimpl AsRef<CssRule> for CssSupportsRule[src]
impl AsRef<CssRule> for CssSupportsRuleimpl Clone for CssRule[src]
impl Clone for CssRulefn clone(&self) -> CssRule | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source. Read more
impl Debug for CssRule[src]
impl Debug for CssRuleimpl Deref for CssRule[src]
impl Deref for CssRuleimpl FromWasmAbi for CssRule[src]
impl FromWasmAbi for CssRuletype Abi = <JsValue as FromWasmAbi>::Abi
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self | [src] |
impl IntoWasmAbi for CssRule[src]
impl IntoWasmAbi for CssRuletype Abi = <JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi | [src] |
impl<'a> IntoWasmAbi for &'a CssRule[src]
impl<'a> IntoWasmAbi for &'a CssRuletype Abi = <&'a JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi | [src] |
impl WasmDescribe for CssRule[src]
impl WasmDescribe for CssRuleimpl OptionIntoWasmAbi for CssRule[src]
impl OptionIntoWasmAbi for CssRuleimpl<'a> OptionIntoWasmAbi for &'a CssRule[src]
impl<'a> OptionIntoWasmAbi for &'a CssRuleimpl OptionFromWasmAbi for CssRule[src]
impl OptionFromWasmAbi for CssRuleimpl RefFromWasmAbi for CssRule[src]
impl RefFromWasmAbi for CssRuletype Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self are recovered from.
type Anchor = ManuallyDrop<CssRule>
The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more
unsafe fn ref_from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self::Anchor | [src] |
impl JsCast for CssRule[src]
impl JsCast for CssRulefn instanceof(val: &JsValue) -> bool | [src] |
fn unchecked_from_js(val: JsValue) -> Self | [src] |
fn unchecked_from_js_ref(val: &JsValue) -> &Self | [src] |
fn is_instance_of<T>(&self) -> bool where | [src] |
Test whether this JS value is an instance of the type T. Read more
fn dyn_into<T>(self) -> Result<T, Self> where | [src] |
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
fn dyn_ref<T>(&self) -> Option<&T> where | [src] |
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
fn unchecked_into<T>(self) -> T where | [src] |
Performs a zero-cost unchecked cast into the specified type. Read more
fn unchecked_ref<T>(&self) -> &T where | [src] |
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)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> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId | [src] |
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, [src]
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi | [src] |