pub struct SyntaxMetadata {
pub name: &'static str,
pub extension: &'static str,
pub suffix: &'static str,
}Expand description
Metadata for a supported converter syntax target.
Fields§
§name: &'static strSyntax value accepted by convert_template.
extension: &'static strRequired output extension for generated files.
suffix: &'static strDefault output suffix appended to the input basename.
Trait Implementations§
Source§impl Clone for SyntaxMetadata
impl Clone for SyntaxMetadata
Source§fn clone(&self) -> SyntaxMetadata
fn clone(&self) -> SyntaxMetadata
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 SyntaxMetadata
Source§impl Debug for SyntaxMetadata
impl Debug for SyntaxMetadata
impl Eq for SyntaxMetadata
Source§impl PartialEq for SyntaxMetadata
impl PartialEq for SyntaxMetadata
impl StructuralPartialEq for SyntaxMetadata
Auto Trait Implementations§
impl Freeze for SyntaxMetadata
impl RefUnwindSafe for SyntaxMetadata
impl Send for SyntaxMetadata
impl Sync for SyntaxMetadata
impl Unpin for SyntaxMetadata
impl UnsafeUnpin for SyntaxMetadata
impl UnwindSafe for SyntaxMetadata
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