pub struct CppExternalMember {Show 13 fields
pub owner: Option<String>,
pub name: String,
pub qualified_name: String,
pub kind: CppExternalMemberKind,
pub visibility: CppExternalVisibility,
pub is_constructor: bool,
pub signature: Option<String>,
pub parameter_types: Option<Vec<CppParameterType>>,
pub parameter_shapes: Option<Vec<CppComparableSlot>>,
pub callable_arity: Option<CallableArity>,
pub explicitness: Option<CppCallableExplicitness>,
pub return_type: Option<StructuredTypeIdentity>,
pub source_path: PathBuf,
}Fields§
§owner: Option<String>§name: String§qualified_name: String§kind: CppExternalMemberKind§visibility: CppExternalVisibility§is_constructor: bool§signature: Option<String>§parameter_types: Option<Vec<CppParameterType>>The structured type of each invocation parameter, or None when the
declaration is not a callable or its parameter list was not reached.
These are structured identities rather than rendered spellings because
the consumer publishes them into a type model, and a spelling such as
const T& is a source text, not a type name.
parameter_shapes: Option<Vec<CppComparableSlot>>Parser-derived parameter shapes retaining C++ cv-qualification.
callable_arity: Option<CallableArity>Invocation arity, including default and repeated parameters, when the declaration is callable and its parameter list was reached.
explicitness: Option<CppCallableExplicitness>Whether a constructor is available to implicit conversion.
return_type: Option<StructuredTypeIdentity>§source_path: PathBufTrait Implementations§
Source§impl Clone for CppExternalMember
impl Clone for CppExternalMember
Source§fn clone(&self) -> CppExternalMember
fn clone(&self) -> CppExternalMember
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 CppExternalMember
impl Debug for CppExternalMember
impl Eq for CppExternalMember
Source§impl PartialEq for CppExternalMember
impl PartialEq for CppExternalMember
impl StructuralPartialEq for CppExternalMember
Auto Trait Implementations§
impl Freeze for CppExternalMember
impl RefUnwindSafe for CppExternalMember
impl Send for CppExternalMember
impl Sync for CppExternalMember
impl Unpin for CppExternalMember
impl UnsafeUnpin for CppExternalMember
impl UnwindSafe for CppExternalMember
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more