Enum freya::prelude::EditableMode
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§
§impl Clone for EditableMode
impl Clone for EditableMode
§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 more§impl Default for EditableMode
impl Default for EditableMode
§fn default() -> EditableMode
fn default() -> EditableMode
Returns the “default value” for a type. Read more
§impl PartialEq<EditableMode> for EditableMode
impl PartialEq<EditableMode> for EditableMode
§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§
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<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§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<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.