pub struct ImageParams {
pub size: [f32; 2],
pub border: Option<[f32; 4]>,
pub tint: Option<[f32; 4]>,
pub uv0: Option<[f32; 2]>,
pub uv1: Option<[f32; 2]>,
}
Fields§
§size: [f32; 2]
§border: Option<[f32; 4]>
§tint: Option<[f32; 4]>
§uv0: Option<[f32; 2]>
§uv1: Option<[f32; 2]>
Auto Trait Implementations§
impl Freeze for ImageParams
impl RefUnwindSafe for ImageParams
impl Send for ImageParams
impl Sync for ImageParams
impl Unpin for ImageParams
impl UnwindSafe for ImageParams
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