Struct skia_bindings::SkCanvas_Layer
source · #[repr(C)]pub struct SkCanvas_Layer {
pub fDevice: sk_sp<SkBaseDevice>,
pub fImageFilter: sk_sp<SkImageFilter>,
pub fPaint: SkPaint,
pub fDiscard: bool,
}
Fields§
§fDevice: sk_sp<SkBaseDevice>
§fImageFilter: sk_sp<SkImageFilter>
§fPaint: SkPaint
§fDiscard: bool
Implementations§
source§impl SkCanvas_Layer
impl SkCanvas_Layer
pub unsafe fn new( device: sk_sp<SkBaseDevice>, imageFilter: sk_sp<SkImageFilter>, paint: *const SkPaint ) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for SkCanvas_Layer
impl !Send for SkCanvas_Layer
impl !Sync for SkCanvas_Layer
impl Unpin for SkCanvas_Layer
impl UnwindSafe for SkCanvas_Layer
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