Struct raqote::draw_target::DrawOptions
source · pub struct DrawOptions {
pub blend_mode: BlendMode,
pub alpha: f32,
pub antialias: AntialiasMode,
}
Fields§
§blend_mode: BlendMode
§alpha: f32
§antialias: AntialiasMode
Implementations§
source§impl DrawOptions
impl DrawOptions
Trait Implementations§
source§impl Clone for DrawOptions
impl Clone for DrawOptions
source§fn clone(&self) -> DrawOptions
fn clone(&self) -> DrawOptions
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 DrawOptions
impl Debug for DrawOptions
source§impl Default for DrawOptions
impl Default for DrawOptions
source§impl PartialEq for DrawOptions
impl PartialEq for DrawOptions
impl Copy for DrawOptions
impl StructuralPartialEq for DrawOptions
Auto Trait Implementations§
impl Freeze for DrawOptions
impl RefUnwindSafe for DrawOptions
impl Send for DrawOptions
impl Sync for DrawOptions
impl Unpin for DrawOptions
impl UnwindSafe for DrawOptions
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
)