pub struct Function {Show 15 fields
pub name: String,
pub c_identifier: Option<String>,
pub kind: FunctionKind,
pub parameters: Vec<Parameter>,
pub ret: Parameter,
pub throws: bool,
pub version: Option<Version>,
pub deprecated_version: Option<Version>,
pub doc: Option<String>,
pub doc_deprecated: Option<String>,
pub get_property: Option<String>,
pub set_property: Option<String>,
pub finish_func: Option<String>,
pub async_func: Option<String>,
pub sync_func: Option<String>,
}
Fields§
§name: String
§c_identifier: Option<String>
§kind: FunctionKind
§parameters: Vec<Parameter>
§ret: Parameter
§throws: bool
§version: Option<Version>
§deprecated_version: Option<Version>
§doc: Option<String>
§doc_deprecated: Option<String>
§get_property: Option<String>
§set_property: Option<String>
§finish_func: Option<String>
§async_func: Option<String>
§sync_func: Option<String>
Trait Implementations§
source§impl IsIncomplete for Function
impl IsIncomplete for Function
fn is_incomplete(&self, lib: &Library) -> bool
source§impl Ord for Function
impl Ord for Function
source§impl PartialOrd for Function
impl PartialOrd for Function
impl Eq for Function
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<T> DerivesCopy for Twhere
T: IsIncomplete,
impl<T> DerivesCopy for Twhere
T: IsIncomplete,
fn derives_copy(&self, lib: &Library) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.