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