pub enum SectionKind {
Ready,
Intro,
Verse,
Chorus,
Bridge,
Outro,
PreChorus,
Solo,
Custom(String),
}
Variants§
Implementations§
Source§impl SectionKind
impl SectionKind
pub fn from_ident(ident: &str) -> Self
Trait Implementations§
Source§impl Clone for SectionKind
impl Clone for SectionKind
Source§fn clone(&self) -> SectionKind
fn clone(&self) -> SectionKind
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 Debug for SectionKind
impl Debug for SectionKind
Source§impl<'de> Deserialize<'de> for SectionKind
impl<'de> Deserialize<'de> for SectionKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SectionKind
impl Display for SectionKind
Source§impl PartialEq for SectionKind
impl PartialEq for SectionKind
Source§impl Serialize for SectionKind
impl Serialize for SectionKind
impl Eq for SectionKind
impl StructuralPartialEq for SectionKind
Auto Trait Implementations§
impl Freeze for SectionKind
impl RefUnwindSafe for SectionKind
impl Send for SectionKind
impl Sync for SectionKind
impl Unpin for SectionKind
impl UnwindSafe for SectionKind
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