pub enum ListSelector {
ListName(String),
ListFile(String),
DefaultList,
}
Expand description
A selector for the allowed libfunc list.
Variants§
ListName(String)
A list with one of the predefined names.
ListFile(String)
A list to be read from a file.
DefaultList
Implementations§
Trait Implementations§
source§impl Clone for ListSelector
impl Clone for ListSelector
source§fn clone(&self) -> ListSelector
fn clone(&self) -> ListSelector
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 moresource§impl Debug for ListSelector
impl Debug for ListSelector
source§impl Default for ListSelector
impl Default for ListSelector
source§fn default() -> ListSelector
fn default() -> ListSelector
Returns the “default value” for a type. Read more
source§impl Display for ListSelector
impl Display for ListSelector
source§impl PartialEq<ListSelector> for ListSelector
impl PartialEq<ListSelector> for ListSelector
source§fn eq(&self, other: &ListSelector) -> bool
fn eq(&self, other: &ListSelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ListSelector
impl StructuralEq for ListSelector
impl StructuralPartialEq for ListSelector
Auto Trait Implementations§
impl RefUnwindSafe for ListSelector
impl Send for ListSelector
impl Sync for ListSelector
impl Unpin for ListSelector
impl UnwindSafe for ListSelector
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<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.