#[repr(transparent)]pub struct Image_CropAndScaleStrategy(pub c_uint);Available on crate features
api-12 and image-source and api-18 only.Expand description
The strategy for executing the two operations when both desiredSize and desiredRegion are specified.
Available since API-level: 18
Tuple Fields§
§0: c_uintImplementations§
Source§impl Image_CropAndScaleStrategy
impl Image_CropAndScaleStrategy
Sourcepub const SCALE_FIRST: Image_CropAndScaleStrategy
pub const SCALE_FIRST: Image_CropAndScaleStrategy
Scale first, then crop.
Sourcepub const CROP_FIRST: Image_CropAndScaleStrategy
pub const CROP_FIRST: Image_CropAndScaleStrategy
Crop first, then scale.
Trait Implementations§
Source§impl Clone for Image_CropAndScaleStrategy
impl Clone for Image_CropAndScaleStrategy
Source§fn clone(&self) -> Image_CropAndScaleStrategy
fn clone(&self) -> Image_CropAndScaleStrategy
Returns a duplicate 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 Image_CropAndScaleStrategy
impl Debug for Image_CropAndScaleStrategy
Source§impl Hash for Image_CropAndScaleStrategy
impl Hash for Image_CropAndScaleStrategy
impl Eq for Image_CropAndScaleStrategy
impl StructuralPartialEq for Image_CropAndScaleStrategy
Auto Trait Implementations§
impl Freeze for Image_CropAndScaleStrategy
impl RefUnwindSafe for Image_CropAndScaleStrategy
impl Send for Image_CropAndScaleStrategy
impl Sync for Image_CropAndScaleStrategy
impl Unpin for Image_CropAndScaleStrategy
impl UnsafeUnpin for Image_CropAndScaleStrategy
impl UnwindSafe for Image_CropAndScaleStrategy
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