pub enum TemplateId {
Blank,
BouncingBall,
LoaderTrimPath,
MaskedText,
PhotoCard,
RepeaterBurst,
GradientPoster,
}Variants§
Implementations§
Source§impl TemplateId
impl TemplateId
Sourcepub fn all() -> &'static [TemplateId]
pub fn all() -> &'static [TemplateId]
All template ids in templates order.
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
Human-readable display name, e.g. Bouncing Ball.
Trait Implementations§
Source§impl Clone for TemplateId
impl Clone for TemplateId
Source§fn clone(&self) -> TemplateId
fn clone(&self) -> TemplateId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TemplateId
Source§impl Debug for TemplateId
impl Debug for TemplateId
impl Eq for TemplateId
Source§impl PartialEq for TemplateId
impl PartialEq for TemplateId
impl StructuralPartialEq for TemplateId
Auto Trait Implementations§
impl Freeze for TemplateId
impl RefUnwindSafe for TemplateId
impl Send for TemplateId
impl Sync for TemplateId
impl Unpin for TemplateId
impl UnsafeUnpin for TemplateId
impl UnwindSafe for TemplateId
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