Struct chrome_remote_interface_model::css::GetBackgroundColorsReturn [−][src]
Implementations
impl GetBackgroundColorsReturn
[src]
pub fn new(
background_colors: Option<Vec<String>>,
computed_font_size: Option<String>,
computed_font_weight: Option<String>
) -> Self
[src]
background_colors: Option<Vec<String>>,
computed_font_size: Option<String>,
computed_font_weight: Option<String>
) -> Self
pub fn background_colors(&self) -> Option<&Vec<String>>
[src]
The range of background colors behind this element, if it contains any visible text. If no visible text is present, this will be undefined. In the case of a flat background color, this will consist of simply that color. In the case of a gradient, this will consist of each of the color stops. For anything more complicated, this will be an empty array. Images will be ignored (as if the image had failed to load).
pub fn computed_font_size(&self) -> Option<&String>
[src]
The computed font size for this node, as a CSS computed value string (e.g. '12px').
pub fn computed_font_weight(&self) -> Option<&String>
[src]
The computed font weight for this node, as a CSS computed value string (e.g. 'normal' or '100').
Trait Implementations
impl Clone for GetBackgroundColorsReturn
[src]
fn clone(&self) -> GetBackgroundColorsReturn
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GetBackgroundColorsReturn
[src]
impl<'de> Deserialize<'de> for GetBackgroundColorsReturn
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for GetBackgroundColorsReturn
[src]
Auto Trait Implementations
impl RefUnwindSafe for GetBackgroundColorsReturn
[src]
impl Send for GetBackgroundColorsReturn
[src]
impl Sync for GetBackgroundColorsReturn
[src]
impl Unpin for GetBackgroundColorsReturn
[src]
impl UnwindSafe for GetBackgroundColorsReturn
[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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,