pub enum PasteVerb {
CutPaste {
sheet: Option<String>,
source: String,
destination: String,
paste_type: PasteType,
},
CopyPaste {
sheet: Option<String>,
source: String,
destination: String,
paste_type: PasteType,
orientation: PasteOrientation,
},
PasteData {
sheet: Option<String>,
destination: String,
data: String,
delimiter: String,
paste_type: PasteType,
},
}Expand description
Which clipboard-style operation to perform.
Variants§
CutPaste
Move source to destination (a single cell), clearing source
entirely regardless of paste_type.
Fields
CopyPaste
Copy source to destination, spilling or repeating per the
API’s own rule ([copy_paste_extent]).
Fields
§
sheet: Option<String>Default sheet for source/destination when either lacks its
own 'Sheet'! prefix.
§
destination: StringThe destination range (a single cell is a valid anchor). May
carry its own 'Sheet'! prefix.
§
orientation: PasteOrientationWhether rows/columns are swapped before pasting.
PasteData
Paste delimited text into a range anchored at destination.
Fields
Trait Implementations§
impl Eq for PasteVerb
impl StructuralPartialEq for PasteVerb
Auto Trait Implementations§
impl Freeze for PasteVerb
impl RefUnwindSafe for PasteVerb
impl Send for PasteVerb
impl Sync for PasteVerb
impl Unpin for PasteVerb
impl UnsafeUnpin for PasteVerb
impl UnwindSafe for PasteVerb
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§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 Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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