pub struct CancelAttributes {
pub location: Option<CancelLocation>,
}Expand description
Attributes pertaining to the Cancel element.
Fields§
§location: Option<CancelLocation>Indicates where the cancellation appears relative to the new key signature. It is “left” if not specified.
Trait Implementations§
Source§impl AttributeDeserializer for CancelAttributes
impl AttributeDeserializer for CancelAttributes
fn deserialize( attributes: &[(String, String)], ) -> Result<CancelAttributes, String>
Source§impl Debug for CancelAttributes
impl Debug for CancelAttributes
Source§impl Default for CancelAttributes
impl Default for CancelAttributes
Source§fn default() -> CancelAttributes
fn default() -> CancelAttributes
Returns the “default value” for a type. Read more
impl Eq for CancelAttributes
Source§impl PartialEq for CancelAttributes
impl PartialEq for CancelAttributes
Source§fn eq(&self, other: &CancelAttributes) -> bool
fn eq(&self, other: &CancelAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CancelAttributes
Auto Trait Implementations§
impl Freeze for CancelAttributes
impl RefUnwindSafe for CancelAttributes
impl Send for CancelAttributes
impl Sync for CancelAttributes
impl Unpin for CancelAttributes
impl UnsafeUnpin for CancelAttributes
impl UnwindSafe for CancelAttributes
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