pub struct FunctionArgument {
pub id: TokenStream,
pub type: IceType,
pub out: bool,
}
Fields§
§id: TokenStream
§type: IceType
§out: bool
Implementations§
Source§impl FunctionArgument
impl FunctionArgument
pub fn new(id: TokenStream, type: IceType, out: bool) -> FunctionArgument
pub fn pass_argument(&self) -> TokenStream
pub fn token(&self) -> TokenStream
pub fn decode_request(&self) -> Option<TokenStream>
pub fn decode_optional_request(&self) -> Option<TokenStream>
pub fn encode_output(&self) -> Option<TokenStream>
pub fn serialize_output(&self) -> Option<TokenStream>
pub fn serialize_input(&self) -> Option<TokenStream>
Trait Implementations§
Source§impl Clone for FunctionArgument
impl Clone for FunctionArgument
Source§fn clone(&self) -> FunctionArgument
fn clone(&self) -> FunctionArgument
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 FunctionArgument
impl Debug for FunctionArgument
Auto Trait Implementations§
impl Freeze for FunctionArgument
impl RefUnwindSafe for FunctionArgument
impl !Send for FunctionArgument
impl !Sync for FunctionArgument
impl Unpin for FunctionArgument
impl UnwindSafe for FunctionArgument
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