pub enum LayerTreeCommands {
CompositingReasons(CompositingReasons),
Disable(Disable),
Enable(Enable),
LoadSnapshot(LoadSnapshot),
MakeSnapshot(MakeSnapshot),
ProfileSnapshot(ProfileSnapshot),
ReleaseSnapshot(ReleaseSnapshot),
ReplaySnapshot(ReplaySnapshot),
SnapshotCommandLog(SnapshotCommandLog),
}Variants§
CompositingReasons(CompositingReasons)
Disable(Disable)
Enable(Enable)
LoadSnapshot(LoadSnapshot)
MakeSnapshot(MakeSnapshot)
ProfileSnapshot(ProfileSnapshot)
ReleaseSnapshot(ReleaseSnapshot)
ReplaySnapshot(ReplaySnapshot)
SnapshotCommandLog(SnapshotCommandLog)
Implementations§
Source§impl LayerTreeCommands
impl LayerTreeCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for LayerTreeCommands
impl Clone for LayerTreeCommands
Source§fn clone(&self) -> LayerTreeCommands
fn clone(&self) -> LayerTreeCommands
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 Debug for LayerTreeCommands
impl Debug for LayerTreeCommands
Source§impl<'de> Deserialize<'de> for LayerTreeCommands
impl<'de> Deserialize<'de> for LayerTreeCommands
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<CompositingReasons> for LayerTreeCommands
impl From<CompositingReasons> for LayerTreeCommands
Source§fn from(v: CompositingReasons) -> Self
fn from(v: CompositingReasons) -> Self
Converts to this type from the input type.
Source§impl From<Disable> for LayerTreeCommands
impl From<Disable> for LayerTreeCommands
Source§impl From<Enable> for LayerTreeCommands
impl From<Enable> for LayerTreeCommands
Source§impl From<LayerTreeCommands> for BrowserProtocolCommands
impl From<LayerTreeCommands> for BrowserProtocolCommands
Source§fn from(v: LayerTreeCommands) -> Self
fn from(v: LayerTreeCommands) -> Self
Converts to this type from the input type.
Source§impl From<LayerTreeCommands> for Command
impl From<LayerTreeCommands> for Command
Source§fn from(v: LayerTreeCommands) -> Self
fn from(v: LayerTreeCommands) -> Self
Converts to this type from the input type.
Source§impl From<LoadSnapshot> for LayerTreeCommands
impl From<LoadSnapshot> for LayerTreeCommands
Source§fn from(v: LoadSnapshot) -> Self
fn from(v: LoadSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<MakeSnapshot> for LayerTreeCommands
impl From<MakeSnapshot> for LayerTreeCommands
Source§fn from(v: MakeSnapshot) -> Self
fn from(v: MakeSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<ProfileSnapshot> for LayerTreeCommands
impl From<ProfileSnapshot> for LayerTreeCommands
Source§fn from(v: ProfileSnapshot) -> Self
fn from(v: ProfileSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<ReleaseSnapshot> for LayerTreeCommands
impl From<ReleaseSnapshot> for LayerTreeCommands
Source§fn from(v: ReleaseSnapshot) -> Self
fn from(v: ReleaseSnapshot) -> Self
Converts to this type from the input type.
Source§impl From<ReplaySnapshot> for LayerTreeCommands
impl From<ReplaySnapshot> for LayerTreeCommands
Source§fn from(v: ReplaySnapshot) -> Self
fn from(v: ReplaySnapshot) -> Self
Converts to this type from the input type.
Source§impl From<SnapshotCommandLog> for LayerTreeCommands
impl From<SnapshotCommandLog> for LayerTreeCommands
Source§fn from(v: SnapshotCommandLog) -> Self
fn from(v: SnapshotCommandLog) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LayerTreeCommands
impl PartialEq for LayerTreeCommands
Source§impl Serialize for LayerTreeCommands
impl Serialize for LayerTreeCommands
Source§impl TryFrom<BrowserProtocolCommands> for LayerTreeCommands
impl TryFrom<BrowserProtocolCommands> for LayerTreeCommands
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, <LayerTreeCommands as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <LayerTreeCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for LayerTreeCommands
impl TryFrom<Command> for LayerTreeCommands
Source§impl TryFrom<LayerTreeCommands> for CompositingReasons
impl TryFrom<LayerTreeCommands> for CompositingReasons
Source§type Error = LayerTreeCommands
type Error = LayerTreeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeCommands,
) -> Result<Self, <CompositingReasons as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <CompositingReasons as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<LayerTreeCommands> for Disable
impl TryFrom<LayerTreeCommands> for Disable
Source§type Error = LayerTreeCommands
type Error = LayerTreeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeCommands,
) -> Result<Self, <Disable as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <Disable as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<LayerTreeCommands> for Enable
impl TryFrom<LayerTreeCommands> for Enable
Source§type Error = LayerTreeCommands
type Error = LayerTreeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeCommands,
) -> Result<Self, <Enable as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <Enable as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<LayerTreeCommands> for LoadSnapshot
impl TryFrom<LayerTreeCommands> for LoadSnapshot
Source§type Error = LayerTreeCommands
type Error = LayerTreeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeCommands,
) -> Result<Self, <LoadSnapshot as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <LoadSnapshot as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<LayerTreeCommands> for MakeSnapshot
impl TryFrom<LayerTreeCommands> for MakeSnapshot
Source§type Error = LayerTreeCommands
type Error = LayerTreeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeCommands,
) -> Result<Self, <MakeSnapshot as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <MakeSnapshot as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<LayerTreeCommands> for ProfileSnapshot
impl TryFrom<LayerTreeCommands> for ProfileSnapshot
Source§type Error = LayerTreeCommands
type Error = LayerTreeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeCommands,
) -> Result<Self, <ProfileSnapshot as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <ProfileSnapshot as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<LayerTreeCommands> for ReleaseSnapshot
impl TryFrom<LayerTreeCommands> for ReleaseSnapshot
Source§type Error = LayerTreeCommands
type Error = LayerTreeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeCommands,
) -> Result<Self, <ReleaseSnapshot as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <ReleaseSnapshot as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<LayerTreeCommands> for ReplaySnapshot
impl TryFrom<LayerTreeCommands> for ReplaySnapshot
Source§type Error = LayerTreeCommands
type Error = LayerTreeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeCommands,
) -> Result<Self, <ReplaySnapshot as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <ReplaySnapshot as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<LayerTreeCommands> for SnapshotCommandLog
impl TryFrom<LayerTreeCommands> for SnapshotCommandLog
Source§type Error = LayerTreeCommands
type Error = LayerTreeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeCommands,
) -> Result<Self, <SnapshotCommandLog as TryFrom<LayerTreeCommands>>::Error>
fn try_from( e: LayerTreeCommands, ) -> Result<Self, <SnapshotCommandLog as TryFrom<LayerTreeCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for LayerTreeCommands
Auto Trait Implementations§
impl Freeze for LayerTreeCommands
impl RefUnwindSafe for LayerTreeCommands
impl Send for LayerTreeCommands
impl Sync for LayerTreeCommands
impl Unpin for LayerTreeCommands
impl UnsafeUnpin for LayerTreeCommands
impl UnwindSafe for LayerTreeCommands
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