Enum ftml::tree::ClearFloat
source · pub enum ClearFloat {
Left,
Right,
Both,
}
Variants§
Implementations§
source§impl ClearFloat
impl ClearFloat
pub fn html_class(self) -> &'static str
Trait Implementations§
source§impl Clone for ClearFloat
impl Clone for ClearFloat
source§fn clone(&self) -> ClearFloat
fn clone(&self) -> ClearFloat
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 Debug for ClearFloat
impl Debug for ClearFloat
source§impl<'de> Deserialize<'de> for ClearFloat
impl<'de> Deserialize<'de> for ClearFloat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ClearFloat
impl Hash for ClearFloat
source§impl PartialEq<ClearFloat> for ClearFloat
impl PartialEq<ClearFloat> for ClearFloat
source§fn eq(&self, other: &ClearFloat) -> bool
fn eq(&self, other: &ClearFloat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ClearFloat
impl Serialize for ClearFloat
impl Copy for ClearFloat
impl Eq for ClearFloat
impl StructuralEq for ClearFloat
impl StructuralPartialEq for ClearFloat
Auto Trait Implementations§
impl RefUnwindSafe for ClearFloat
impl Send for ClearFloat
impl Sync for ClearFloat
impl Unpin for ClearFloat
impl UnwindSafe for ClearFloat
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer