pub struct canvas {
pub attributes: <canvas as TypedElement>::Attributes,
pub other_attributes: Vec<(String, Option<String>)>,
}
Available on crate feature
typed
only.Fields§
§attributes: <canvas as TypedElement>::Attributes
§other_attributes: Vec<(String, Option<String>)>
Trait Implementations§
Source§impl TypedElement for canvas
impl TypedElement for canvas
Source§type Attributes = CanvasAttributes
type Attributes = CanvasAttributes
The attributes of the element.
Source§fn from_attributes(
attributes: <canvas as TypedElement>::Attributes,
other_attributes: Vec<(String, Option<String>)>,
) -> canvas
fn from_attributes( attributes: <canvas as TypedElement>::Attributes, other_attributes: Vec<(String, Option<String>)>, ) -> canvas
Create an element from its attributes.
Auto Trait Implementations§
impl Freeze for canvas
impl RefUnwindSafe for canvas
impl Send for canvas
impl Sync for canvas
impl Unpin for canvas
impl UnwindSafe for canvas
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