Struct plex_api::transcode::ArtTranscodeOptions
source · pub struct ArtTranscodeOptions {
pub upscale: bool,
pub min_size: bool,
}
Fields§
§upscale: bool
If true and the source image is smaller than that requested it will be upscaled.
min_size: bool
Sets whether the requested size is the minimum size desired or the maximum.
Trait Implementations§
source§impl Clone for ArtTranscodeOptions
impl Clone for ArtTranscodeOptions
source§fn clone(&self) -> ArtTranscodeOptions
fn clone(&self) -> ArtTranscodeOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ArtTranscodeOptions
impl Debug for ArtTranscodeOptions
source§impl Default for ArtTranscodeOptions
impl Default for ArtTranscodeOptions
impl Copy for ArtTranscodeOptions
Auto Trait Implementations§
impl RefUnwindSafe for ArtTranscodeOptions
impl Send for ArtTranscodeOptions
impl Sync for ArtTranscodeOptions
impl Unpin for ArtTranscodeOptions
impl UnwindSafe for ArtTranscodeOptions
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