pub enum OverrideContent {
Template(Box<Template>),
Function(Box<Function>),
Variable(Box<Variable>),
Param(Box<Param>),
AttributeSet(Box<AttributeSet>),
}Variants§
Template(Box<Template>)
Function(Box<Function>)
Variable(Box<Variable>)
Param(Box<Param>)
AttributeSet(Box<AttributeSet>)
Trait Implementations§
Source§impl Clone for OverrideContent
impl Clone for OverrideContent
Source§fn clone(&self) -> OverrideContent
fn clone(&self) -> OverrideContent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OverrideContent
impl Debug for OverrideContent
Source§impl<'_enum> From<&'_enum OverrideContent> for OverrideContentName
impl<'_enum> From<&'_enum OverrideContent> for OverrideContentName
Source§fn from(val: &'_enum OverrideContent) -> OverrideContentName
fn from(val: &'_enum OverrideContent) -> OverrideContentName
Converts to this type from the input type.
Source§impl From<AttributeSet> for OverrideContent
impl From<AttributeSet> for OverrideContent
Source§fn from(i: AttributeSet) -> Self
fn from(i: AttributeSet) -> Self
Converts to this type from the input type.
Source§impl From<Function> for OverrideContent
impl From<Function> for OverrideContent
Source§impl From<OverrideContent> for OverrideContentName
impl From<OverrideContent> for OverrideContentName
Source§fn from(val: OverrideContent) -> OverrideContentName
fn from(val: OverrideContent) -> OverrideContentName
Converts to this type from the input type.
Source§impl From<Param> for OverrideContent
impl From<Param> for OverrideContent
Source§impl From<Template> for OverrideContent
impl From<Template> for OverrideContent
Source§impl From<Variable> for OverrideContent
impl From<Variable> for OverrideContent
Source§impl IntoDiscriminant for OverrideContent
impl IntoDiscriminant for OverrideContent
Source§type Discriminant = OverrideContentName
type Discriminant = OverrideContentName
Enum listing the same variants as this enum but without any data fields
fn discriminant(&self) -> Self::Discriminant
Source§impl PartialEq for OverrideContent
impl PartialEq for OverrideContent
impl Eq for OverrideContent
impl StructuralPartialEq for OverrideContent
Auto Trait Implementations§
impl Freeze for OverrideContent
impl RefUnwindSafe for OverrideContent
impl Send for OverrideContent
impl Sync for OverrideContent
impl Unpin for OverrideContent
impl UnwindSafe for OverrideContent
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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