Struct pyo3_stub_gen_derive::gen_stub::member::MemberInfo
source · pub struct MemberInfo {
name: String,
type: Type,
}
Fields§
§name: String
§type: Type
Implementations§
source§impl MemberInfo
impl MemberInfo
pub fn is_candidate_item(item: &ImplItemFn) -> Result<bool>
pub fn is_candidate_field(field: &Field) -> Result<bool>
Trait Implementations§
source§impl Debug for MemberInfo
impl Debug for MemberInfo
source§impl ToTokens for MemberInfo
impl ToTokens for MemberInfo
source§fn to_tokens(&self, tokens: &mut TokenStream2)
fn to_tokens(&self, tokens: &mut TokenStream2)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
source§impl TryFrom<Field> for MemberInfo
impl TryFrom<Field> for MemberInfo
source§impl TryFrom<ImplItemFn> for MemberInfo
impl TryFrom<ImplItemFn> for MemberInfo
Auto Trait Implementations§
impl Freeze for MemberInfo
impl RefUnwindSafe for MemberInfo
impl !Send for MemberInfo
impl !Sync for MemberInfo
impl Unpin for MemberInfo
impl UnwindSafe for MemberInfo
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> Spanned for T
impl<T> Spanned for T
source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.