pub struct UnusedOptions {
pub kinds: Vec<String>,
pub languages: Vec<String>,
pub exported: Option<bool>,
pub path_prefix: Option<String>,
pub limit: usize,
}Fields§
§kinds: Vec<String>Restrict to these symbol kinds (function, method, class, struct, …). Empty means “any”.
languages: Vec<String>Restrict to these languages (typescript, java, …). Empty means “any”.
exported: Option<bool>Some(true) = only exported; Some(false) = only non-exported.
path_prefix: Option<String>Match symbols whose file path starts with this prefix.
limit: usizeMaximum number of hits to return.
Trait Implementations§
Source§impl Clone for UnusedOptions
impl Clone for UnusedOptions
Source§fn clone(&self) -> UnusedOptions
fn clone(&self) -> UnusedOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnusedOptions
impl Debug for UnusedOptions
Source§impl Default for UnusedOptions
impl Default for UnusedOptions
Source§fn default() -> UnusedOptions
fn default() -> UnusedOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnusedOptions
impl<'de> Deserialize<'de> for UnusedOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UnusedOptions
impl RefUnwindSafe for UnusedOptions
impl Send for UnusedOptions
impl Sync for UnusedOptions
impl Unpin for UnusedOptions
impl UnsafeUnpin for UnusedOptions
impl UnwindSafe for UnusedOptions
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