pub struct ViewStyle {
pub staff_space: f32,
pub text_scale: f32,
pub annotation_gap: f32,
pub system_gap: f32,
}Expand description
Renderer-independent effective style for a linked view.
staff_space and text_scale are dimensionless multipliers. Annotation and system gaps
use staff-space units.
Fields§
§staff_space: f32§text_scale: f32§annotation_gap: f32§system_gap: f32Trait Implementations§
impl Copy for ViewStyle
Source§impl<'de> Deserialize<'de> for ViewStyle
impl<'de> Deserialize<'de> for ViewStyle
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
impl StructuralPartialEq for ViewStyle
Auto Trait Implementations§
impl Freeze for ViewStyle
impl RefUnwindSafe for ViewStyle
impl Send for ViewStyle
impl Sync for ViewStyle
impl Unpin for ViewStyle
impl UnsafeUnpin for ViewStyle
impl UnwindSafe for ViewStyle
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