Enum freya_hooks::EditableMode
source · pub enum EditableMode {
SingleLineMultipleEditors,
MultipleLinesSingleEditor,
}Expand description
How the editable content must behave.
Variants§
SingleLineMultipleEditors
Multiple editors of only one line.
Useful for textarea-like editors that need more customization than a simple paragraph for example.
MultipleLinesSingleEditor
One editor of multiple lines.
A paragraph for example.
Trait Implementations§
source§impl Clone for EditableMode
impl Clone for EditableMode
source§fn clone(&self) -> EditableMode
fn clone(&self) -> EditableMode
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 Default for EditableMode
impl Default for EditableMode
source§impl PartialEq<EditableMode> for EditableMode
impl PartialEq<EditableMode> for EditableMode
source§fn eq(&self, other: &EditableMode) -> bool
fn eq(&self, other: &EditableMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for EditableMode
impl Eq for EditableMode
impl StructuralEq for EditableMode
impl StructuralPartialEq for EditableMode
Auto Trait Implementations§
impl RefUnwindSafe for EditableMode
impl Send for EditableMode
impl Sync for EditableMode
impl Unpin for EditableMode
impl UnwindSafe for EditableMode
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.
§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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.