pub enum SizedAtomKind<'a> {
Empty,
Text(Arc<Galley>),
Image(Image<'a>, Vec2),
Custom(Id),
}
Expand description
A sized crate::AtomKind
.
Variants§
Implementations§
Trait Implementations§
Source§impl<'a> Clone for SizedAtomKind<'a>
impl<'a> Clone for SizedAtomKind<'a>
Source§fn clone(&self) -> SizedAtomKind<'a>
fn clone(&self) -> SizedAtomKind<'a>
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 moreSource§impl<'a> Debug for SizedAtomKind<'a>
impl<'a> Debug for SizedAtomKind<'a>
Source§impl<'a> Default for SizedAtomKind<'a>
impl<'a> Default for SizedAtomKind<'a>
Source§fn default() -> SizedAtomKind<'a>
fn default() -> SizedAtomKind<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for SizedAtomKind<'a>
impl<'a> RefUnwindSafe for SizedAtomKind<'a>
impl<'a> Send for SizedAtomKind<'a>
impl<'a> Sync for SizedAtomKind<'a>
impl<'a> Unpin for SizedAtomKind<'a>
impl<'a> UnwindSafe for SizedAtomKind<'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