Struct gpui2::SvgRenderer
source · pub struct SvgRenderer { /* private fields */ }
Implementations§
source§impl SvgRenderer
impl SvgRenderer
pub fn new(asset_source: Arc<dyn AssetSource>) -> Self
pub fn render(&self, params: &RenderSvgParams) -> Result<Vec<u8>>
Auto Trait Implementations§
impl !RefUnwindSafe for SvgRenderer
impl Send for SvgRenderer
impl Sync for SvgRenderer
impl Unpin for SvgRenderer
impl !UnwindSafe for SvgRenderer
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