Struct ImageStretch
pub struct ImageStretch {
pub from: f32,
pub to: f32,
}Expand description
One stretchable interval along an image axis, in image pixels.
Fields§
§from: f32§to: f32Implementations§
§impl ImageStretch
impl ImageStretch
pub fn new(from: f32, to: f32) -> ImageStretch
Trait Implementations§
§impl Clone for ImageStretch
impl Clone for ImageStretch
§fn clone(&self) -> ImageStretch
fn clone(&self) -> ImageStretch
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 more§impl Debug for ImageStretch
impl Debug for ImageStretch
§impl PartialEq for ImageStretch
impl PartialEq for ImageStretch
impl Copy for ImageStretch
impl StructuralPartialEq for ImageStretch
Auto Trait Implementations§
impl Freeze for ImageStretch
impl RefUnwindSafe for ImageStretch
impl Send for ImageStretch
impl Sync for ImageStretch
impl Unpin for ImageStretch
impl UnsafeUnpin for ImageStretch
impl UnwindSafe for ImageStretch
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