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