pub enum SurfaceIcon {
BuiltIn {
name: String,
},
Resource {
uri: String,
},
ProviderAsset {
provider: String,
key: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for SurfaceIcon
impl Clone for SurfaceIcon
Source§impl Debug for SurfaceIcon
impl Debug for SurfaceIcon
Source§impl<'de> Deserialize<'de> for SurfaceIcon
impl<'de> Deserialize<'de> for SurfaceIcon
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 SurfaceIcon
Source§impl PartialEq for SurfaceIcon
impl PartialEq for SurfaceIcon
Source§impl Serialize for SurfaceIcon
impl Serialize for SurfaceIcon
impl StructuralPartialEq for SurfaceIcon
Auto Trait Implementations§
impl Freeze for SurfaceIcon
impl RefUnwindSafe for SurfaceIcon
impl Send for SurfaceIcon
impl Sync for SurfaceIcon
impl Unpin for SurfaceIcon
impl UnsafeUnpin for SurfaceIcon
impl UnwindSafe for SurfaceIcon
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