pub struct FunctionReturn {
pub type: IceType,
pub return_proxy: bool,
}
Fields§
§type: IceType
§return_proxy: bool
Implementations§
Source§impl FunctionReturn
impl FunctionReturn
pub fn new(type: IceType) -> FunctionReturn
pub fn empty() -> FunctionReturn
pub fn set_proxy(&mut self)
pub fn token(&self) -> TokenStream
pub fn return_token(&self) -> TokenStream
Trait Implementations§
Source§impl Clone for FunctionReturn
impl Clone for FunctionReturn
Source§fn clone(&self) -> FunctionReturn
fn clone(&self) -> FunctionReturn
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 FunctionReturn
impl Debug for FunctionReturn
Auto Trait Implementations§
impl Freeze for FunctionReturn
impl RefUnwindSafe for FunctionReturn
impl Send for FunctionReturn
impl Sync for FunctionReturn
impl Unpin for FunctionReturn
impl UnwindSafe for FunctionReturn
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