pub struct UseCanvas { /* private fields */ }
Expand description
Holds a rendering hook callback that allows to render to the Canvas.
Implementations§
§impl UseCanvas
impl UseCanvas
pub fn attribute<T, 'a>(&self, cx: &'a Scoped<'a, T>) -> AttributeValue<'a>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for UseCanvas
impl Send for UseCanvas
impl Sync for UseCanvas
impl Unpin for UseCanvas
impl !UnwindSafe for UseCanvas
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