Struct extendr_api::metadata::Func
source · pub struct Func {
pub doc: &'static str,
pub rust_name: &'static str,
pub mod_name: &'static str,
pub r_name: &'static str,
pub args: Vec<Arg>,
pub return_type: &'static str,
pub func_ptr: *const u8,
pub hidden: bool,
}
Expand description
Metadata function.
Fields§
§doc: &'static str
§rust_name: &'static str
§mod_name: &'static str
§r_name: &'static str
§args: Vec<Arg>
§return_type: &'static str
§func_ptr: *const u8
Trait Implementations§
impl StructuralPartialEq for Func
Auto Trait Implementations§
impl Freeze for Func
impl RefUnwindSafe for Func
impl !Send for Func
impl !Sync for Func
impl Unpin for Func
impl UnwindSafe for Func
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