pub struct SurfaceSwitcherItem {
pub surface_id: SurfaceId,
pub content: SwitcherContentKind,
pub title: Option<String>,
pub icon: Option<SurfaceIcon>,
pub active: bool,
pub root: bool,
pub closable: bool,
pub renameable: bool,
pub title_overridden: bool,
}Fields§
§surface_id: SurfaceId§content: SwitcherContentKind§title: Option<String>§icon: Option<SurfaceIcon>§active: bool§root: bool§closable: bool§renameable: bool§title_overridden: boolTrait Implementations§
Source§impl Clone for SurfaceSwitcherItem
impl Clone for SurfaceSwitcherItem
Source§impl Debug for SurfaceSwitcherItem
impl Debug for SurfaceSwitcherItem
Source§impl<'de> Deserialize<'de> for SurfaceSwitcherItem
impl<'de> Deserialize<'de> for SurfaceSwitcherItem
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 SurfaceSwitcherItem
Source§impl PartialEq for SurfaceSwitcherItem
impl PartialEq for SurfaceSwitcherItem
Source§impl Serialize for SurfaceSwitcherItem
impl Serialize for SurfaceSwitcherItem
impl StructuralPartialEq for SurfaceSwitcherItem
Auto Trait Implementations§
impl Freeze for SurfaceSwitcherItem
impl RefUnwindSafe for SurfaceSwitcherItem
impl Send for SurfaceSwitcherItem
impl Sync for SurfaceSwitcherItem
impl Unpin for SurfaceSwitcherItem
impl UnsafeUnpin for SurfaceSwitcherItem
impl UnwindSafe for SurfaceSwitcherItem
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