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 Default for ListSelector
impl Default for ListSelector
source§fn default() -> ListSelector
fn default() -> ListSelector
Returns the “default value” for a type. Read more
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