pub struct EncoderAttributes {
pub type: Option<Token>,
}Expand description
Attributes pertaining to the Encoder element.
Fields§
§type: Option<Token>Standard values are music, words, and arrangement, but other types may be used. This attribute is only needed when there are multiple Encoder elements.
Trait Implementations§
Source§impl AttributeDeserializer for EncoderAttributes
impl AttributeDeserializer for EncoderAttributes
fn deserialize( attributes: &[(String, String)], ) -> Result<EncoderAttributes, String>
Source§impl Debug for EncoderAttributes
impl Debug for EncoderAttributes
Source§impl Default for EncoderAttributes
impl Default for EncoderAttributes
Source§fn default() -> EncoderAttributes
fn default() -> EncoderAttributes
Returns the “default value” for a type. Read more
Source§impl PartialEq for EncoderAttributes
impl PartialEq for EncoderAttributes
impl Eq for EncoderAttributes
impl StructuralPartialEq for EncoderAttributes
Auto Trait Implementations§
impl Freeze for EncoderAttributes
impl RefUnwindSafe for EncoderAttributes
impl Send for EncoderAttributes
impl Sync for EncoderAttributes
impl Unpin for EncoderAttributes
impl UnwindSafe for EncoderAttributes
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