pub struct FollowLiveValue;Expand description
As StandardEditPolicy, but a draft the user has not touched follows
the store: a new value replaces it (DraftAction::Replace); a touched
draft is kept and shows the conflict.
Trait Implementations§
Source§impl Clone for FollowLiveValue
impl Clone for FollowLiveValue
Source§fn clone(&self) -> FollowLiveValue
fn clone(&self) -> FollowLiveValue
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 FollowLiveValue
impl Debug for FollowLiveValue
Source§impl Default for FollowLiveValue
impl Default for FollowLiveValue
Source§fn default() -> FollowLiveValue
fn default() -> FollowLiveValue
Returns the “default value” for a type. Read more
Source§impl EditPolicy for FollowLiveValue
impl EditPolicy for FollowLiveValue
Source§fn on_blur(&self, context: &EditPolicyContext<'_>) -> EditEnd
fn on_blur(&self, context: &EditPolicyContext<'_>) -> EditEnd
The focus left an open editor, or a press landed outside it.
Source§fn on_value_change(&self, context: &EditPolicyContext<'_>) -> DraftAction
fn on_value_change(&self, context: &EditPolicyContext<'_>) -> DraftAction
The edited cell’s value changed in the store.
The edited row left the shown lines without a user action: a
filter, a collapsed group.
Source§fn commit_unchanged(&self) -> bool
fn commit_unchanged(&self) -> bool
Returns true if a commit equal to the value the edit started from
still emits
EditCommit. Default: no, the editor closes with
EditCancel { reason: Unchanged }.Source§fn settle_timeout(&self) -> Duration
fn settle_timeout(&self) -> Duration
How long an accepted value is shown while the store does not have it
yet. Default: 5 s.
Source§fn error_mark_timeout(&self) -> Option<Duration>
fn error_mark_timeout(&self) -> Option<Duration>
How long the error mark of a failed commit stays;
None (the
default): until the cell is edited again or
LiveGridState::clear_edit_error.impl Copy for FollowLiveValue
Auto Trait Implementations§
impl Freeze for FollowLiveValue
impl RefUnwindSafe for FollowLiveValue
impl Send for FollowLiveValue
impl Sync for FollowLiveValue
impl Unpin for FollowLiveValue
impl UnsafeUnpin for FollowLiveValue
impl UnwindSafe for FollowLiveValue
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,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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§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.
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().