Enum ui2::GraphicSlot
source · pub enum GraphicSlot {
Icon(Icon),
Avatar(SharedString),
PublicActor(SharedString),
}
Expand description
A slot utility that provides a way to to pass either an icon or an image to a component.
Can be filled with a []
Variants§
Trait Implementations§
source§impl Clone for GraphicSlot
impl Clone for GraphicSlot
source§fn clone(&self) -> GraphicSlot
fn clone(&self) -> GraphicSlot
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for GraphicSlot
impl Send for GraphicSlot
impl Sync for GraphicSlot
impl Unpin for GraphicSlot
impl UnwindSafe for GraphicSlot
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