pub struct SurfaceId(pub String);Expand description
Unique identifier for a UI surface.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SurfaceId
impl<'de> Deserialize<'de> for SurfaceId
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 SurfaceId
impl StructuralPartialEq for SurfaceId
Auto Trait Implementations§
impl Freeze for SurfaceId
impl RefUnwindSafe for SurfaceId
impl Send for SurfaceId
impl Sync for SurfaceId
impl Unpin for SurfaceId
impl UnsafeUnpin for SurfaceId
impl UnwindSafe for SurfaceId
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