pub struct SurfaceSwitcherSnapshot {
pub revision: u64,
pub root_surface_id: Option<SurfaceId>,
pub active_surface_id: Option<SurfaceId>,
pub items: Vec<SurfaceSwitcherItem>,
}Fields§
§revision: u64§root_surface_id: Option<SurfaceId>§active_surface_id: Option<SurfaceId>§items: Vec<SurfaceSwitcherItem>Trait Implementations§
Source§impl Clone for SurfaceSwitcherSnapshot
impl Clone for SurfaceSwitcherSnapshot
Source§fn clone(&self) -> SurfaceSwitcherSnapshot
fn clone(&self) -> SurfaceSwitcherSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SurfaceSwitcherSnapshot
impl Debug for SurfaceSwitcherSnapshot
Source§impl Default for SurfaceSwitcherSnapshot
impl Default for SurfaceSwitcherSnapshot
Source§fn default() -> SurfaceSwitcherSnapshot
fn default() -> SurfaceSwitcherSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SurfaceSwitcherSnapshot
impl<'de> Deserialize<'de> for SurfaceSwitcherSnapshot
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
impl Eq for SurfaceSwitcherSnapshot
Source§impl PartialEq for SurfaceSwitcherSnapshot
impl PartialEq for SurfaceSwitcherSnapshot
Source§impl Serialize for SurfaceSwitcherSnapshot
impl Serialize for SurfaceSwitcherSnapshot
impl StructuralPartialEq for SurfaceSwitcherSnapshot
Auto Trait Implementations§
impl Freeze for SurfaceSwitcherSnapshot
impl RefUnwindSafe for SurfaceSwitcherSnapshot
impl Send for SurfaceSwitcherSnapshot
impl Sync for SurfaceSwitcherSnapshot
impl Unpin for SurfaceSwitcherSnapshot
impl UnsafeUnpin for SurfaceSwitcherSnapshot
impl UnwindSafe for SurfaceSwitcherSnapshot
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