#[repr(C)]pub struct BLContextState {
pub hints: BLContextHints,
pub compOp: u8,
pub fillRule: u8,
pub styleType: [u8; 2],
pub reserved: [u8; 4],
pub approximationOptions: BLApproximationOptions,
pub globalAlpha: f64,
pub styleAlpha: [f64; 2],
pub strokeOptions: BLStrokeOptionsCore,
pub metaMatrix: BLMatrix2D,
pub userMatrix: BLMatrix2D,
pub savedStateCount: usize,
}Fields§
§hints: BLContextHints§compOp: u8§fillRule: u8§styleType: [u8; 2]§reserved: [u8; 4]§approximationOptions: BLApproximationOptions§globalAlpha: f64§styleAlpha: [f64; 2]§strokeOptions: BLStrokeOptionsCore§metaMatrix: BLMatrix2D§userMatrix: BLMatrix2D§savedStateCount: usizeTrait Implementations§
Source§impl Clone for BLContextState
impl Clone for BLContextState
Source§fn clone(&self) -> BLContextState
fn clone(&self) -> BLContextState
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 moreimpl Copy for BLContextState
Auto Trait Implementations§
impl Freeze for BLContextState
impl RefUnwindSafe for BLContextState
impl !Send for BLContextState
impl !Sync for BLContextState
impl Unpin for BLContextState
impl UnwindSafe for BLContextState
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