pub struct TypeFnProof {
pub proof_fn_token: ProofFn,
pub generics: Option<AngleBracketedGenericArguments>,
pub options: Option<FnProofOptions>,
pub paren_token: Paren,
pub inputs: Punctuated<FnProofArg, Comma>,
pub output: ReturnType,
}Expand description
A proof_fn type:
proof_fn<'a, F>[ReqEns<R>, Copy, Send, Sync](tracked usize) -> tracked bool
Parsed similarly to TypeBareFn
Fields§
§proof_fn_token: ProofFn§generics: Option<AngleBracketedGenericArguments>§options: Option<FnProofOptions>§paren_token: Paren§inputs: Punctuated<FnProofArg, Comma>§output: ReturnTypeTrait Implementations§
Source§impl Clone for TypeFnProof
Available on crate feature clone-impls only.
impl Clone for TypeFnProof
Available on crate feature
clone-impls only.Source§impl Debug for TypeFnProof
Available on crate feature extra-traits only.
impl Debug for TypeFnProof
Available on crate feature
extra-traits only.Source§impl From<TypeFnProof> for Type
impl From<TypeFnProof> for Type
Source§fn from(e: TypeFnProof) -> Type
fn from(e: TypeFnProof) -> Type
Converts to this type from the input type.
Source§impl Hash for TypeFnProof
Available on crate feature extra-traits only.
impl Hash for TypeFnProof
Available on crate feature
extra-traits only.Source§impl PartialEq for TypeFnProof
Available on crate feature extra-traits only.
impl PartialEq for TypeFnProof
Available on crate feature
extra-traits only.Source§impl ToTokens for TypeFnProof
impl ToTokens for TypeFnProof
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
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,
impl Eq for TypeFnProof
Available on crate feature
extra-traits only.Auto Trait Implementations§
impl Freeze for TypeFnProof
impl RefUnwindSafe for TypeFnProof
impl !Send for TypeFnProof
impl !Sync for TypeFnProof
impl Unpin for TypeFnProof
impl UnsafeUnpin for TypeFnProof
impl UnwindSafe for TypeFnProof
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<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
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.