pub struct BareFnTy<'fhir> {
pub safety: Safety,
pub abi: Abi,
pub generic_params: &'fhir [GenericParam<'fhir>],
pub decl: &'fhir FnDecl<'fhir>,
pub param_names: &'fhir [Ident],
}
Fields§
§safety: Safety
§abi: Abi
§generic_params: &'fhir [GenericParam<'fhir>]
§decl: &'fhir FnDecl<'fhir>
§param_names: &'fhir [Ident]
Trait Implementations§
Auto Trait Implementations§
impl<'fhir> Freeze for BareFnTy<'fhir>
impl<'fhir> RefUnwindSafe for BareFnTy<'fhir>
impl<'fhir> Send for BareFnTy<'fhir>
impl<'fhir> Sync for BareFnTy<'fhir>
impl<'fhir> Unpin for BareFnTy<'fhir>
impl<'fhir> UnwindSafe for BareFnTy<'fhir>
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> 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