pub struct SetFontSizesParams {
pub font_sizes: FontSizes,
}Expand description
Set default font sizes. setFontSizes
Fields§
§font_sizes: FontSizesSpecifies font sizes to set. If a font size is not specified, it won’t be changed.
Implementations§
Source§impl SetFontSizesParams
impl SetFontSizesParams
pub fn builder() -> SetFontSizesParamsBuilder
Source§impl SetFontSizesParams
impl SetFontSizesParams
pub const IDENTIFIER: &'static str = "Page.setFontSizes"
Trait Implementations§
Source§impl Clone for SetFontSizesParams
impl Clone for SetFontSizesParams
Source§fn clone(&self) -> SetFontSizesParams
fn clone(&self) -> SetFontSizesParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Command for SetFontSizesParams
impl Command for SetFontSizesParams
Source§impl Debug for SetFontSizesParams
impl Debug for SetFontSizesParams
Source§impl<'de> Deserialize<'de> for SetFontSizesParams
impl<'de> Deserialize<'de> for SetFontSizesParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for SetFontSizesParams
impl Method for SetFontSizesParams
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl MethodType for SetFontSizesParams
impl MethodType for SetFontSizesParams
Source§impl PartialEq for SetFontSizesParams
impl PartialEq for SetFontSizesParams
Source§impl Serialize for SetFontSizesParams
impl Serialize for SetFontSizesParams
impl StructuralPartialEq for SetFontSizesParams
Auto Trait Implementations§
impl Freeze for SetFontSizesParams
impl RefUnwindSafe for SetFontSizesParams
impl Send for SetFontSizesParams
impl Sync for SetFontSizesParams
impl Unpin for SetFontSizesParams
impl UnwindSafe for SetFontSizesParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more