pub struct XmlComponentMap {
pub components: Vec<XmlComponent>,
}
Expand description
Holds all XML components - builtin components
Fields§
§components: Vec<XmlComponent>
Stores all known components that can be used during DOM rendering
- whether this component should inherit variables from the parent scope
Implementations§
Source§impl XmlComponentMap
impl XmlComponentMap
pub fn register_component(&mut self, comp: XmlComponent)
Trait Implementations§
Source§impl Default for XmlComponentMap
impl Default for XmlComponentMap
Source§fn default() -> XmlComponentMap
fn default() -> XmlComponentMap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for XmlComponentMap
impl !RefUnwindSafe for XmlComponentMap
impl !Send for XmlComponentMap
impl !Sync for XmlComponentMap
impl Unpin for XmlComponentMap
impl !UnwindSafe for XmlComponentMap
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more