pub enum Patch {
Ramp {
draw_data_offset: usize,
stops: Range<usize>,
extend: Extend,
},
GlyphRun {
index: usize,
},
Image {
draw_data_offset: usize,
image: ImageData,
},
}Expand description
Patch for a late bound resource.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Patch
impl !UnwindSafe for Patch
impl Forget for Patch
impl Freeze for Patch
impl Move for Patch
impl Send for Patch
impl Sync for Patch
impl Unpin for Patch
impl UnsafeUnpin for Patchwhere
*const ArcInner<dyn AsRef<[u8]> + Sync + Send> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn AsRef<[u8]> + Sync + Send>>: UnsafeUnpin,
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