pub enum UiContent<'a> {
Label(Cow<'a, str>),
Texture(Texture2D),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for UiContent<'a>
impl<'a> Send for UiContent<'a>
impl<'a> Sync for UiContent<'a>
impl<'a> Unpin for UiContent<'a>
impl<'a> UnwindSafe for UiContent<'a>
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