pub struct ViewportCropParams {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
}
Fields§
§x: f32
§y: f32
§width: f32
§height: f32
Trait Implementations§
Source§impl Clone for ViewportCropParams
impl Clone for ViewportCropParams
Source§fn clone(&self) -> ViewportCropParams
fn clone(&self) -> ViewportCropParams
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 ViewportCropParams
impl Debug for ViewportCropParams
Source§impl PartialEq for ViewportCropParams
impl PartialEq for ViewportCropParams
impl Copy for ViewportCropParams
impl StructuralPartialEq for ViewportCropParams
Auto Trait Implementations§
impl Freeze for ViewportCropParams
impl RefUnwindSafe for ViewportCropParams
impl Send for ViewportCropParams
impl Sync for ViewportCropParams
impl Unpin for ViewportCropParams
impl UnwindSafe for ViewportCropParams
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)