pub struct MemberQuery {
pub class: Option<ClassQuery>,
pub name: Option<String>,
pub exact_name: bool,
pub signature: Option<MemberSignature>,
}Expand description
Method or field query: at least one of class / name must be set.
Fields§
§class: Option<ClassQuery>§name: Option<String>Fuzzy member name (regex when class is absent or fuzzy, substring
when the class is precise), or the exact name when exact_name is set.
exact_name: boolMatch name exactly (whatever the class constraint) instead of as a
regex / substring; used for “references to this member” lookups.
signature: Option<MemberSignature>Only the members of this signature: one overload of a method, or a field of one type. Checked against the id tables, before any code is scanned.
Trait Implementations§
Source§impl Clone for MemberQuery
impl Clone for MemberQuery
Source§fn clone(&self) -> MemberQuery
fn clone(&self) -> MemberQuery
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 MemberQuery
impl Debug for MemberQuery
Source§impl Default for MemberQuery
impl Default for MemberQuery
Source§fn default() -> MemberQuery
fn default() -> MemberQuery
Returns the “default value” for a type. Read more
impl Eq for MemberQuery
Source§impl PartialEq for MemberQuery
impl PartialEq for MemberQuery
impl StructuralPartialEq for MemberQuery
Auto Trait Implementations§
impl Forget for MemberQuery
impl Freeze for MemberQuery
impl Move for MemberQuery
impl RefUnwindSafe for MemberQuery
impl Send for MemberQuery
impl Sync for MemberQuery
impl Unpin for MemberQuery
impl UnsafeUnpin for MemberQuery
impl UnwindSafe for MemberQuery
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