pub struct CompositingReasonsReturn { /* private fields */ }Available on crate features
experimental and LayerTree and DOM only.Expand description
Provides the reasons why the given layer was composited.
Implementations§
Source§impl CompositingReasonsReturn
impl CompositingReasonsReturn
pub fn new( compositing_reasons: Vec<String>, compositing_reason_ids: Vec<String>, ) -> Self
Sourcepub fn compositing_reasons(&self) -> &[String]
👎Deprecated
pub fn compositing_reasons(&self) -> &[String]
A list of strings specifying reasons for the given layer to become composited.
Sourcepub fn compositing_reason_ids(&self) -> &[String]
pub fn compositing_reason_ids(&self) -> &[String]
A list of strings specifying reason IDs for the given layer to become composited.
Trait Implementations§
Source§impl Clone for CompositingReasonsReturn
impl Clone for CompositingReasonsReturn
Source§fn clone(&self) -> CompositingReasonsReturn
fn clone(&self) -> CompositingReasonsReturn
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 CompositingReasonsReturn
impl Debug for CompositingReasonsReturn
Source§impl<'de> Deserialize<'de> for CompositingReasonsReturn
impl<'de> Deserialize<'de> for CompositingReasonsReturn
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
Auto Trait Implementations§
impl Freeze for CompositingReasonsReturn
impl RefUnwindSafe for CompositingReasonsReturn
impl Send for CompositingReasonsReturn
impl Sync for CompositingReasonsReturn
impl Unpin for CompositingReasonsReturn
impl UnwindSafe for CompositingReasonsReturn
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