pub struct AttributePropertySingletone<Marker = AttributePropertySingletoneMarker>(/* private fields */);
Expand description
A generic boolean attribute property which consists of only keyword.
This property can have two states: true
, or false
.
Defaults to false
.
Unlike other properties, it does not implement parse, because it consists only of keyword which should be parsed outside of the property.
Implementations§
source§impl<Marker> AttributePropertySingletone<Marker>
impl<Marker> AttributePropertySingletone<Marker>
Trait Implementations§
source§impl<Marker> AsRef<bool> for AttributePropertySingletone<Marker>
impl<Marker> AsRef<bool> for AttributePropertySingletone<Marker>
source§impl<Marker, IntoT> Assign<AttributePropertySingletone<Marker>, IntoT> for AttributePropertySingletone<Marker>where
IntoT: Into<AttributePropertySingletone<Marker>>,
impl<Marker, IntoT> Assign<AttributePropertySingletone<Marker>, IntoT> for AttributePropertySingletone<Marker>where
IntoT: Into<AttributePropertySingletone<Marker>>,
source§impl<Marker> AttributePropertyComponent for AttributePropertySingletone<Marker>where
Marker: AttributePropertyComponent,
impl<Marker> AttributePropertyComponent for AttributePropertySingletone<Marker>where
Marker: AttributePropertyComponent,
source§impl<Marker: Clone> Clone for AttributePropertySingletone<Marker>
impl<Marker: Clone> Clone for AttributePropertySingletone<Marker>
source§fn clone(&self) -> AttributePropertySingletone<Marker>
fn clone(&self) -> AttributePropertySingletone<Marker>
Returns a copy 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<Marker: Debug> Debug for AttributePropertySingletone<Marker>
impl<Marker: Debug> Debug for AttributePropertySingletone<Marker>
source§impl<Marker: Default> Default for AttributePropertySingletone<Marker>
impl<Marker: Default> Default for AttributePropertySingletone<Marker>
source§fn default() -> AttributePropertySingletone<Marker>
fn default() -> AttributePropertySingletone<Marker>
Returns the “default value” for a type. Read more
source§impl<Marker> Deref for AttributePropertySingletone<Marker>
impl<Marker> Deref for AttributePropertySingletone<Marker>
source§impl<Marker> From<AttributePropertySingletone<Marker>> for bool
impl<Marker> From<AttributePropertySingletone<Marker>> for bool
source§fn from(src: AttributePropertySingletone<Marker>) -> Self
fn from(src: AttributePropertySingletone<Marker>) -> Self
Converts to this type from the input type.
source§impl<Marker> From<bool> for AttributePropertySingletone<Marker>
impl<Marker> From<bool> for AttributePropertySingletone<Marker>
impl<Marker: Copy> Copy for AttributePropertySingletone<Marker>
Auto Trait Implementations§
impl<Marker> Freeze for AttributePropertySingletone<Marker>
impl<Marker> RefUnwindSafe for AttributePropertySingletone<Marker>where
Marker: RefUnwindSafe,
impl<Marker> Send for AttributePropertySingletone<Marker>where
Marker: Send,
impl<Marker> Sync for AttributePropertySingletone<Marker>where
Marker: Sync,
impl<Marker> Unpin for AttributePropertySingletone<Marker>where
Marker: Unpin,
impl<Marker> UnwindSafe for AttributePropertySingletone<Marker>where
Marker: UnwindSafe,
Blanket Implementations§
source§impl<S> AssignWithType for S
impl<S> AssignWithType for S
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