pub struct Icon(/* private fields */);Available on crate feature
ui only.Trait Implementations§
Source§impl From<BuiltinIcon> for Icon
impl From<BuiltinIcon> for Icon
Source§fn from(value: BuiltinIcon) -> Self
fn from(value: BuiltinIcon) -> Self
Converts to this type from the input type.
Source§impl ImageKind for Icon
impl ImageKind for Icon
fn from_builtin(builtin: <Self::Handle as ImageHandleKind>::BuiltinType) -> Self
fn from_module_by_name(module: &ExecutableModule, name: String) -> Result<Self>
fn from_module_by_ordinal( module: &ExecutableModule, ordinal: u32, ) -> Result<Self>
fn from_file<A: AsRef<Path>>(path: A) -> Result<Self>
impl Eq for Icon
impl StructuralPartialEq for Icon
Auto Trait Implementations§
impl Freeze for Icon
impl RefUnwindSafe for Icon
impl !Send for Icon
impl !Sync for Icon
impl Unpin for Icon
impl UnwindSafe for Icon
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