pub enum FileFormat {
GuitarPro3,
GuitarPro4,
GuitarPro5,
GuitarProX,
GuitarPro,
MuseScore,
}Expand description
Supported file formats
Variants§
GuitarPro3
Guitar Pro 3 format
GuitarPro4
Guitar Pro 4 format
GuitarPro5
Guitar Pro 5 format
GuitarProX
Guitar Pro X format (compressed)
GuitarPro
Modern Guitar Pro format
MuseScore
MuseScore format
Implementations§
Source§impl FileFormat
impl FileFormat
Sourcepub fn supports_compression(&self) -> bool
pub fn supports_compression(&self) -> bool
Check if format supports compression
Sourcepub fn is_xml_based(&self) -> bool
pub fn is_xml_based(&self) -> bool
Check if format is XML-based
Sourcepub fn supported_versions(&self) -> Vec<&'static str>
pub fn supported_versions(&self) -> Vec<&'static str>
Get supported versions for the format
Trait Implementations§
Source§impl Clone for FileFormat
impl Clone for FileFormat
Source§fn clone(&self) -> FileFormat
fn clone(&self) -> FileFormat
Returns a duplicate 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 FileFormat
impl Debug for FileFormat
Source§impl PartialEq for FileFormat
impl PartialEq for FileFormat
impl StructuralPartialEq for FileFormat
Auto Trait Implementations§
impl Freeze for FileFormat
impl RefUnwindSafe for FileFormat
impl Send for FileFormat
impl Sync for FileFormat
impl Unpin for FileFormat
impl UnwindSafe for FileFormat
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