pub struct Surface {
pub id: SurfaceId,
pub role: Role,
pub content: SurfaceContent,
pub owner: SurfaceOwner,
pub placement: Placement,
pub state: SurfaceState,
pub float: Option<FloatSpec>,
}Expand description
One node in the Surface Graph.
Fields§
§id: SurfaceId§role: Role§content: SurfaceContent§owner: SurfaceOwner§placement: Placement§state: SurfaceState§float: Option<FloatSpec>Present only for role == Float.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Surface
impl<'de> Deserialize<'de> for Surface
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 StructuralPartialEq for Surface
Auto Trait Implementations§
impl Freeze for Surface
impl RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl UnsafeUnpin for Surface
impl UnwindSafe for Surface
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