pub struct Handle { /* private fields */ }
Expand description
A handle of Svg data.
Implementations§
Source§impl Handle
impl Handle
Sourcepub fn from_path(path: impl Into<PathBuf>) -> Handle
pub fn from_path(path: impl Into<PathBuf>) -> Handle
Creates an SVG Handle
pointing to the vector image of the given
path.
Trait Implementations§
impl Eq for Handle
impl StructuralPartialEq for Handle
Auto Trait Implementations§
impl Freeze for Handle
impl RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl UnwindSafe for Handle
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