pub struct SetPageScaleFactorParams {
pub page_scale_factor: f64,
}Expand description
Sets a specified page scale factor. setPageScaleFactor
Fields
page_scale_factor: f64Page scale factor.
Implementations
sourceimpl SetPageScaleFactorParams
impl SetPageScaleFactorParams
pub fn new(page_scale_factor: impl Into<f64>) -> SetPageScaleFactorParams
sourceimpl SetPageScaleFactorParams
impl SetPageScaleFactorParams
pub const IDENTIFIER: &'static str
Trait Implementations
sourceimpl Clone for SetPageScaleFactorParams
impl Clone for SetPageScaleFactorParams
sourcefn clone(&self) -> SetPageScaleFactorParams
fn clone(&self) -> SetPageScaleFactorParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Command for SetPageScaleFactorParams
impl Command for SetPageScaleFactorParams
type Response = SetPageScaleFactorReturns
type Response = SetPageScaleFactorReturns
The type of the response this request triggers on the chromium server
sourceimpl Debug for SetPageScaleFactorParams
impl Debug for SetPageScaleFactorParams
sourceimpl<'de> Deserialize<'de> for SetPageScaleFactorParams
impl<'de> Deserialize<'de> for SetPageScaleFactorParams
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<SetPageScaleFactorParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SetPageScaleFactorParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Method for SetPageScaleFactorParams
impl Method for SetPageScaleFactorParams
sourcefn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like: DOM.removeNode
sourcefn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to: DOM
sourcefn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain: removeNode
sourceimpl MethodType for SetPageScaleFactorParams
impl MethodType for SetPageScaleFactorParams
sourceimpl PartialEq<SetPageScaleFactorParams> for SetPageScaleFactorParams
impl PartialEq<SetPageScaleFactorParams> for SetPageScaleFactorParams
sourcefn eq(&self, other: &SetPageScaleFactorParams) -> bool
fn eq(&self, other: &SetPageScaleFactorParams) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SetPageScaleFactorParams) -> bool
fn ne(&self, other: &SetPageScaleFactorParams) -> bool
This method tests for !=.
sourceimpl Serialize for SetPageScaleFactorParams
impl Serialize for SetPageScaleFactorParams
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SetPageScaleFactorParams
Auto Trait Implementations
impl RefUnwindSafe for SetPageScaleFactorParams
impl Send for SetPageScaleFactorParams
impl Sync for SetPageScaleFactorParams
impl Unpin for SetPageScaleFactorParams
impl UnwindSafe for SetPageScaleFactorParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more