pub struct LookupScope {
pub functions: bool,
pub enums: bool,
pub settings: bool,
pub events: bool,
}Expand description
The namespaces a query searches.
Fields§
§functions: boolCallable spellings and parameter facts.
enums: boolEnum domains and members.
settings: boolSettings keys and value forms.
events: boolRule events the @Event header accepts.
Implementations§
Source§impl LookupScope
impl LookupScope
Sourcepub const ALL: LookupScope
pub const ALL: LookupScope
Every namespace.
Sourcepub const FUNCTIONS: LookupScope
pub const FUNCTIONS: LookupScope
Callables only.
Sourcepub const ENUMS: LookupScope
pub const ENUMS: LookupScope
Enum domains and members only.
Sourcepub const SETTINGS: LookupScope
pub const SETTINGS: LookupScope
Settings only.
Sourcepub const EVENTS: LookupScope
pub const EVENTS: LookupScope
@Event spellings only.
Trait Implementations§
Source§impl Clone for LookupScope
impl Clone for LookupScope
impl Copy for LookupScope
Source§impl Debug for LookupScope
impl Debug for LookupScope
impl Eq for LookupScope
Source§impl PartialEq for LookupScope
impl PartialEq for LookupScope
Source§impl Serialize for LookupScope
impl Serialize for LookupScope
impl StructuralPartialEq for LookupScope
Auto Trait Implementations§
impl Freeze for LookupScope
impl RefUnwindSafe for LookupScope
impl Send for LookupScope
impl Sync for LookupScope
impl Unpin for LookupScope
impl UnsafeUnpin for LookupScope
impl UnwindSafe for LookupScope
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