pub struct EntryFunction {
pub name: String,
pub directives: Vec<FunctionHeaderDirective>,
pub params: Vec<VariableDirective>,
pub body: FunctionBody,
}Expand description
A PTX kernel declared with the .entry directive.
Fields§
§name: String§directives: Vec<FunctionHeaderDirective>§params: Vec<VariableDirective>§body: FunctionBodyTrait Implementations§
Source§impl Clone for EntryFunction
impl Clone for EntryFunction
Source§fn clone(&self) -> EntryFunction
fn clone(&self) -> EntryFunction
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 EntryFunction
impl Debug for EntryFunction
Source§impl PartialEq for EntryFunction
impl PartialEq for EntryFunction
Source§impl PtxParser for EntryFunction
impl PtxParser for EntryFunction
Source§fn parse(stream: &mut PtxTokenStream<'_>) -> Result<Self, PtxParseError>
fn parse(stream: &mut PtxTokenStream<'_>) -> Result<Self, PtxParseError>
Parse an instance of
Self from the token stream.Source§impl PtxUnparser for EntryFunction
impl PtxUnparser for EntryFunction
impl StructuralPartialEq for EntryFunction
Auto Trait Implementations§
impl Freeze for EntryFunction
impl RefUnwindSafe for EntryFunction
impl Send for EntryFunction
impl Sync for EntryFunction
impl Unpin for EntryFunction
impl UnwindSafe for EntryFunction
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