pub struct ObjectStyleOverride {
pub target: ObjectStyleTarget,
pub property: ViewStyleProperty,
pub value: f32,
pub provenance: Option<StyleImportProvenance>,
}Expand description
A renderer-neutral typed style override attached to a score object.
Fields§
§target: ObjectStyleTarget§property: ViewStyleProperty§value: f32§provenance: Option<StyleImportProvenance>Trait Implementations§
Source§impl Clone for ObjectStyleOverride
impl Clone for ObjectStyleOverride
Source§impl Debug for ObjectStyleOverride
impl Debug for ObjectStyleOverride
Source§impl<'de> Deserialize<'de> for ObjectStyleOverride
impl<'de> Deserialize<'de> for ObjectStyleOverride
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 PartialEq for ObjectStyleOverride
impl PartialEq for ObjectStyleOverride
Source§impl Serialize for ObjectStyleOverride
impl Serialize for ObjectStyleOverride
impl StructuralPartialEq for ObjectStyleOverride
Auto Trait Implementations§
impl Freeze for ObjectStyleOverride
impl RefUnwindSafe for ObjectStyleOverride
impl Send for ObjectStyleOverride
impl Sync for ObjectStyleOverride
impl Unpin for ObjectStyleOverride
impl UnsafeUnpin for ObjectStyleOverride
impl UnwindSafe for ObjectStyleOverride
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