pub struct FuncFunction {
pub name: String,
pub directives: Vec<FunctionHeaderDirective>,
pub return_param: Option<Parameter>,
pub params: Vec<Parameter>,
pub body: FunctionBody,
}Expand description
A PTX device function declared with the .func directive.
Fields§
§name: String§directives: Vec<FunctionHeaderDirective>§return_param: Option<Parameter>§params: Vec<Parameter>§body: FunctionBodyTrait Implementations§
Source§impl Clone for FuncFunction
impl Clone for FuncFunction
Source§fn clone(&self) -> FuncFunction
fn clone(&self) -> FuncFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FuncFunction
impl Debug for FuncFunction
Source§impl PartialEq for FuncFunction
impl PartialEq for FuncFunction
impl Eq for FuncFunction
impl StructuralPartialEq for FuncFunction
Auto Trait Implementations§
impl Freeze for FuncFunction
impl RefUnwindSafe for FuncFunction
impl Send for FuncFunction
impl Sync for FuncFunction
impl Unpin for FuncFunction
impl UnwindSafe for FuncFunction
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