pub struct GetRelayoutBoundary {
pub method: GetRelayoutBoundaryMethod,
pub params: GetRelayoutBoundaryParams,
}Expand description
Returns the id of the nearest ancestor that is a relayout boundary. getRelayoutBoundary
Fields§
§method: GetRelayoutBoundaryMethod§params: GetRelayoutBoundaryParamsImplementations§
Source§impl GetRelayoutBoundary
impl GetRelayoutBoundary
pub fn builder() -> GetRelayoutBoundaryBuilder
Source§impl GetRelayoutBoundary
impl GetRelayoutBoundary
pub const IDENTIFIER: &'static str = "DOM.getRelayoutBoundary"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetRelayoutBoundary
impl Clone for GetRelayoutBoundary
Source§fn clone(&self) -> GetRelayoutBoundary
fn clone(&self) -> GetRelayoutBoundary
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 GetRelayoutBoundary
impl CommandResult for GetRelayoutBoundary
type Result = GetRelayoutBoundaryResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetRelayoutBoundary
impl Debug for GetRelayoutBoundary
Source§impl<'de> Deserialize<'de> for GetRelayoutBoundary
impl<'de> Deserialize<'de> for GetRelayoutBoundary
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<GetRelayoutBoundary> for BrowserProtocolCommands
impl From<GetRelayoutBoundary> for BrowserProtocolCommands
Source§fn from(v: GetRelayoutBoundary) -> Self
fn from(v: GetRelayoutBoundary) -> Self
Converts to this type from the input type.
Source§impl From<GetRelayoutBoundary> for Command
impl From<GetRelayoutBoundary> for Command
Source§fn from(v: GetRelayoutBoundary) -> Self
fn from(v: GetRelayoutBoundary) -> Self
Converts to this type from the input type.
Source§impl From<GetRelayoutBoundary> for DomCommands
impl From<GetRelayoutBoundary> for DomCommands
Source§fn from(v: GetRelayoutBoundary) -> Self
fn from(v: GetRelayoutBoundary) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetRelayoutBoundary
impl PartialEq for GetRelayoutBoundary
Source§impl Serialize for GetRelayoutBoundary
impl Serialize for GetRelayoutBoundary
Source§impl TryFrom<BrowserProtocolCommands> for GetRelayoutBoundary
impl TryFrom<BrowserProtocolCommands> for GetRelayoutBoundary
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, <GetRelayoutBoundary as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetRelayoutBoundary as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetRelayoutBoundary
impl TryFrom<Command> for GetRelayoutBoundary
Source§impl TryFrom<DomCommands> for GetRelayoutBoundary
impl TryFrom<DomCommands> for GetRelayoutBoundary
Source§type Error = DomCommands
type Error = DomCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DomCommands,
) -> Result<Self, <GetRelayoutBoundary as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <GetRelayoutBoundary as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetRelayoutBoundary
Auto Trait Implementations§
impl Freeze for GetRelayoutBoundary
impl RefUnwindSafe for GetRelayoutBoundary
impl Send for GetRelayoutBoundary
impl Sync for GetRelayoutBoundary
impl Unpin for GetRelayoutBoundary
impl UnsafeUnpin for GetRelayoutBoundary
impl UnwindSafe for GetRelayoutBoundary
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