[][src]Struct skia_safe::Borrows

#[repr(C)]
pub struct Borrows<'a, H>(_, _);

Methods

impl<'a> Borrows<'a, MultiPictureDraw>[src]

pub fn add<'b>(
    self,
    canvas: &'b mut Canvas,
    picture: &'b Picture,
    matrix: Option<&'b Matrix>,
    paint: Option<&'b Paint>
) -> Borrows<'b, MultiPictureDraw> where
    'a: 'b, 
[src]

pub fn draw(self, flush: impl Into<Option<bool>>) -> MultiPictureDraw[src]

pub fn reset(self) -> MultiPictureDraw[src]

impl<'a, H> Borrows<'a, H>[src]

pub unsafe fn release(self) -> H[src]

Release the borrowed dependency and return the handle.

Trait Implementations

impl<'a, H> Deref for Borrows<'a, H>[src]

type Target = H

The resulting type after dereferencing.

impl<'a, H> DerefMut for Borrows<'a, H>[src]

Auto Trait Implementations

impl<'a, H> Send for Borrows<'a, H> where
    H: Send

impl<'a, H> Unpin for Borrows<'a, H> where
    H: Unpin

impl<'a, H> Sync for Borrows<'a, H> where
    H: Sync

impl<'a, H> UnwindSafe for Borrows<'a, H> where
    H: UnwindSafe

impl<'a, H> RefUnwindSafe for Borrows<'a, H> where
    H: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]