pub struct SetLocalFontsEnabled {
pub method: SetLocalFontsEnabledMethod,
pub params: SetLocalFontsEnabledParams,
}Expand description
Enables/disables rendering of local CSS fonts (enabled by default). setLocalFontsEnabled
Fields§
§method: SetLocalFontsEnabledMethod§params: SetLocalFontsEnabledParamsImplementations§
Source§impl SetLocalFontsEnabled
impl SetLocalFontsEnabled
pub fn builder() -> SetLocalFontsEnabledBuilder
Source§impl SetLocalFontsEnabled
impl SetLocalFontsEnabled
pub const IDENTIFIER: &'static str = "CSS.setLocalFontsEnabled"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetLocalFontsEnabled
impl Clone for SetLocalFontsEnabled
Source§fn clone(&self) -> SetLocalFontsEnabled
fn clone(&self) -> SetLocalFontsEnabled
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 CommandResult for SetLocalFontsEnabled
impl CommandResult for SetLocalFontsEnabled
type Result = SetLocalFontsEnabledResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetLocalFontsEnabled
impl Debug for SetLocalFontsEnabled
Source§impl<'de> Deserialize<'de> for SetLocalFontsEnabled
impl<'de> Deserialize<'de> for SetLocalFontsEnabled
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 From<SetLocalFontsEnabled> for BrowserProtocolCommands
impl From<SetLocalFontsEnabled> for BrowserProtocolCommands
Source§fn from(v: SetLocalFontsEnabled) -> Self
fn from(v: SetLocalFontsEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetLocalFontsEnabled> for Command
impl From<SetLocalFontsEnabled> for Command
Source§fn from(v: SetLocalFontsEnabled) -> Self
fn from(v: SetLocalFontsEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetLocalFontsEnabled> for CssCommands
impl From<SetLocalFontsEnabled> for CssCommands
Source§fn from(v: SetLocalFontsEnabled) -> Self
fn from(v: SetLocalFontsEnabled) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetLocalFontsEnabled
impl PartialEq for SetLocalFontsEnabled
Source§impl Serialize for SetLocalFontsEnabled
impl Serialize for SetLocalFontsEnabled
Source§impl TryFrom<BrowserProtocolCommands> for SetLocalFontsEnabled
impl TryFrom<BrowserProtocolCommands> for SetLocalFontsEnabled
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetLocalFontsEnabled as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetLocalFontsEnabled as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetLocalFontsEnabled
impl TryFrom<Command> for SetLocalFontsEnabled
Source§impl TryFrom<CssCommands> for SetLocalFontsEnabled
impl TryFrom<CssCommands> for SetLocalFontsEnabled
Source§type Error = CssCommands
type Error = CssCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CssCommands,
) -> Result<Self, <SetLocalFontsEnabled as TryFrom<CssCommands>>::Error>
fn try_from( e: CssCommands, ) -> Result<Self, <SetLocalFontsEnabled as TryFrom<CssCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetLocalFontsEnabled
Auto Trait Implementations§
impl Freeze for SetLocalFontsEnabled
impl RefUnwindSafe for SetLocalFontsEnabled
impl Send for SetLocalFontsEnabled
impl Sync for SetLocalFontsEnabled
impl Unpin for SetLocalFontsEnabled
impl UnsafeUnpin for SetLocalFontsEnabled
impl UnwindSafe for SetLocalFontsEnabled
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