Struct sway_ast::brackets::AngleBrackets
source · [−]pub struct AngleBrackets<T> {
pub open_angle_bracket_token: OpenAngleBracketToken,
pub inner: T,
pub close_angle_bracket_token: CloseAngleBracketToken,
}
Fields
open_angle_bracket_token: OpenAngleBracketToken
inner: T
close_angle_bracket_token: CloseAngleBracketToken
Implementations
sourceimpl<T> AngleBrackets<T>
impl<T> AngleBrackets<T>
pub fn into_inner(self) -> T
Trait Implementations
sourceimpl<T: Clone> Clone for AngleBrackets<T>
impl<T: Clone> Clone for AngleBrackets<T>
sourcefn clone(&self) -> AngleBrackets<T>
fn clone(&self) -> AngleBrackets<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug> Debug for AngleBrackets<T>
impl<T: Debug> Debug for AngleBrackets<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for AngleBrackets<T> where
T: RefUnwindSafe,
impl<T> Send for AngleBrackets<T> where
T: Send,
impl<T> Sync for AngleBrackets<T> where
T: Sync,
impl<T> Unpin for AngleBrackets<T> where
T: Unpin,
impl<T> UnwindSafe for AngleBrackets<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more