#[repr(C)]pub struct CompositorCapabilities {
    pub virtual_surface_size: i32,
    pub redraw_on_invalidation: bool,
    pub max_update_rects: usize,
    pub supports_surface_for_backdrop: bool,
    pub supports_external_compositor_surface_negative_scaling: bool,
}Fields§
§virtual_surface_size: i32The virtual surface size used by the underlying platform.
redraw_on_invalidation: boolWhether the compositor requires redrawing on invalidation.
max_update_rects: usizeThe maximum number of dirty rects that can be provided per compositor surface update. If this is zero, the entire compositor surface for a given tile will be drawn if it’s dirty.
supports_surface_for_backdrop: boolWhether or not this compositor will create surfaces for backdrops.
supports_external_compositor_surface_negative_scaling: boolWhether external compositor surface supports negative scaling.
Trait Implementations§
Source§impl Clone for CompositorCapabilities
 
impl Clone for CompositorCapabilities
Source§fn clone(&self) -> CompositorCapabilities
 
fn clone(&self) -> CompositorCapabilities
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 CompositorCapabilities
 
impl Debug for CompositorCapabilities
Source§impl Default for CompositorCapabilities
 
impl Default for CompositorCapabilities
Source§impl PartialEq for CompositorCapabilities
 
impl PartialEq for CompositorCapabilities
Source§impl Serialize for CompositorCapabilities
 
impl Serialize for CompositorCapabilities
impl Copy for CompositorCapabilities
impl StructuralPartialEq for CompositorCapabilities
Auto Trait Implementations§
impl Freeze for CompositorCapabilities
impl RefUnwindSafe for CompositorCapabilities
impl Send for CompositorCapabilities
impl Sync for CompositorCapabilities
impl Unpin for CompositorCapabilities
impl UnwindSafe for CompositorCapabilities
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more