pub struct WindowCompositionSpec {
pub items: Vec<CompositionItemSpec>,
}Expand description
Full scene description for one compositor-managed window.
Fields§
§items: Vec<CompositionItemSpec>Scene items to show in the window, ordered from front to back.
Trait Implementations§
Source§impl Clone for WindowCompositionSpec
impl Clone for WindowCompositionSpec
Source§fn clone(&self) -> WindowCompositionSpec
fn clone(&self) -> WindowCompositionSpec
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 WindowCompositionSpec
impl Debug for WindowCompositionSpec
Source§impl Default for WindowCompositionSpec
impl Default for WindowCompositionSpec
Source§fn default() -> WindowCompositionSpec
fn default() -> WindowCompositionSpec
Returns the “default value” for a type. Read more
Source§impl PartialEq for WindowCompositionSpec
impl PartialEq for WindowCompositionSpec
impl StructuralPartialEq for WindowCompositionSpec
Auto Trait Implementations§
impl Freeze for WindowCompositionSpec
impl RefUnwindSafe for WindowCompositionSpec
impl Send for WindowCompositionSpec
impl Sync for WindowCompositionSpec
impl Unpin for WindowCompositionSpec
impl UnsafeUnpin for WindowCompositionSpec
impl UnwindSafe for WindowCompositionSpec
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