pub enum Refused {
Covered,
Formula,
Namespace,
NotFound,
Structure,
}Expand description
Why an edit was not made. Each is a state of the document rather than a failure, and the window says which.
Variants§
Covered
The cell is under a neighbour’s span; the neighbour is the one to edit.
Formula
The cell holds a formula, which this version does not edit.
Namespace
The document does not declare a namespace the edit would write in.
NotFound
There is no such sheet, slide, shape or paragraph.
Structure
An end of the range is inside a table, a cell or a frame the range does not wholly contain, which a join of text does not take apart.
Trait Implementations§
impl Eq for Refused
Source§impl Error for Refused
impl Error for Refused
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for Refused
Auto Trait Implementations§
impl Freeze for Refused
impl RefUnwindSafe for Refused
impl Send for Refused
impl Sync for Refused
impl Unpin for Refused
impl UnsafeUnpin for Refused
impl UnwindSafe for Refused
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.