pub struct ImageAttrSet {
pub x: ImageAttrRange<u32>,
pub y: ImageAttrRange<u32>,
pub sar: Option<ImageAttrRange<f64>>,
pub par: Option<(f64, f64)>,
pub q: Option<f64>,
}Expand description
One [x=...,y=...,...] set of an a=imageattr line.
Fields§
§x: ImageAttrRange<u32>x=: the image width, in pixels.
y: ImageAttrRange<u32>y=: the image height, in pixels.
sar: Option<ImageAttrRange<f64>>sar=: the sample (pixel) aspect ratio.
par: Option<(f64, f64)>par=[min-max]: the picture aspect ratio.
q: Option<f64>q=: the preference for this set, 0.0 to 1.0; 0.5 when absent.
Trait Implementations§
Source§impl Clone for ImageAttrSet
impl Clone for ImageAttrSet
Source§impl Debug for ImageAttrSet
impl Debug for ImageAttrSet
Source§impl Display for ImageAttrSet
impl Display for ImageAttrSet
Source§impl PartialEq for ImageAttrSet
impl PartialEq for ImageAttrSet
impl StructuralPartialEq for ImageAttrSet
Auto Trait Implementations§
impl Forget for ImageAttrSet
impl Freeze for ImageAttrSet
impl Move for ImageAttrSet
impl RefUnwindSafe for ImageAttrSet
impl Send for ImageAttrSetwhere
RawVecInner: Send,
impl Sync for ImageAttrSetwhere
RawVecInner: Sync,
impl Unpin for ImageAttrSet
impl UnsafeUnpin for ImageAttrSetwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
impl UnwindSafe for ImageAttrSetwhere
RawVecInner: UnwindSafe,
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