pub struct ImageRequest {
pub dpi: Option<u32>,
pub trim: Option<u32>,
}Expand description
How MuseScore is asked to write a score as an image.
Fields§
§dpi: Option<u32>The image’s resolution, MuseScore’s own where none.
trim: Option<u32>The pixels left around the music where the image is cut to it, or none to leave the page whole.
Trait Implementations§
Source§impl Clone for ImageRequest
impl Clone for ImageRequest
Source§impl Debug for ImageRequest
impl Debug for ImageRequest
impl Eq for ImageRequest
Source§impl PartialEq for ImageRequest
impl PartialEq for ImageRequest
impl StructuralPartialEq for ImageRequest
Auto Trait Implementations§
impl Forget for ImageRequest
impl Freeze for ImageRequest
impl Move for ImageRequest
impl RefUnwindSafe for ImageRequest
impl Send for ImageRequest
impl Sync for ImageRequest
impl Unpin for ImageRequest
impl UnsafeUnpin for ImageRequest
impl UnwindSafe for ImageRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more