#[non_exhaustive]pub enum SheetSelector {
All,
Index(usize),
Name(String),
Indices(Vec<usize>),
Names(Vec<String>),
}Expand description
シート選択方式
変換対象のシートを選択する方法を指定します。
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
All
すべてのシートを変換(デフォルト)
Index(usize)
インデックス指定(0始まり)
例: SheetSelector::Index(0) は最初のシートを選択
Name(String)
シート名指定
例: SheetSelector::Name("Sheet1".to_string())
Indices(Vec<usize>)
複数のインデックス指定
例: SheetSelector::Indices(vec![0, 2, 4])
Names(Vec<String>)
複数のシート名指定
例: SheetSelector::Names(vec!["Sheet1".to_string(), "Sheet2".to_string()])
Trait Implementations§
Source§impl Clone for SheetSelector
impl Clone for SheetSelector
Source§fn clone(&self) -> SheetSelector
fn clone(&self) -> SheetSelector
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 SheetSelector
impl Debug for SheetSelector
Source§impl PartialEq for SheetSelector
impl PartialEq for SheetSelector
impl Eq for SheetSelector
impl StructuralPartialEq for SheetSelector
Auto Trait Implementations§
impl Freeze for SheetSelector
impl RefUnwindSafe for SheetSelector
impl Send for SheetSelector
impl Sync for SheetSelector
impl Unpin for SheetSelector
impl UnwindSafe for SheetSelector
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.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