pub struct ThrowsClause {
pub throws_span: Span,
pub types: Vec<Type>,
}Expand description
A throws clause: throws Type1, Type2.
Fields§
§throws_span: Span§types: Vec<Type>Trait Implementations§
Source§impl Clone for ThrowsClause
impl Clone for ThrowsClause
Source§fn clone(&self) -> ThrowsClause
fn clone(&self) -> ThrowsClause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThrowsClause
impl Debug for ThrowsClause
impl Eq for ThrowsClause
Source§impl Hash for ThrowsClause
impl Hash for ThrowsClause
Source§impl PartialEq for ThrowsClause
impl PartialEq for ThrowsClause
Source§fn eq(&self, other: &ThrowsClause) -> bool
fn eq(&self, other: &ThrowsClause) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ThrowsClause
Auto Trait Implementations§
impl Freeze for ThrowsClause
impl RefUnwindSafe for ThrowsClause
impl Send for ThrowsClause
impl Sync for ThrowsClause
impl Unpin for ThrowsClause
impl UnsafeUnpin for ThrowsClause
impl UnwindSafe for ThrowsClause
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