pub struct LayerTreeDidChangeParams {
pub layers: Option<Vec<Layer>>,
}Fields§
§layers: Option<Vec<Layer>>Layer tree, absent if not in the compositing mode.
Trait Implementations§
Source§impl Clone for LayerTreeDidChangeParams
impl Clone for LayerTreeDidChangeParams
Source§fn clone(&self) -> LayerTreeDidChangeParams
fn clone(&self) -> LayerTreeDidChangeParams
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 LayerTreeDidChangeParams
impl Debug for LayerTreeDidChangeParams
Source§impl Default for LayerTreeDidChangeParams
impl Default for LayerTreeDidChangeParams
Source§fn default() -> LayerTreeDidChangeParams
fn default() -> LayerTreeDidChangeParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LayerTreeDidChangeParams
impl<'de> Deserialize<'de> for LayerTreeDidChangeParams
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 PartialEq for LayerTreeDidChangeParams
impl PartialEq for LayerTreeDidChangeParams
Source§impl Serialize for LayerTreeDidChangeParams
impl Serialize for LayerTreeDidChangeParams
impl StructuralPartialEq for LayerTreeDidChangeParams
Auto Trait Implementations§
impl Freeze for LayerTreeDidChangeParams
impl RefUnwindSafe for LayerTreeDidChangeParams
impl Send for LayerTreeDidChangeParams
impl Sync for LayerTreeDidChangeParams
impl Unpin for LayerTreeDidChangeParams
impl UnsafeUnpin for LayerTreeDidChangeParams
impl UnwindSafe for LayerTreeDidChangeParams
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