Struct witx::parser::FieldSyntax
source · [−]pub struct FieldSyntax<'a> {
pub name: Id<'a>,
pub type_: TypedefSyntax<'a>,
}
Fields
name: Id<'a>
type_: TypedefSyntax<'a>
Trait Implementations
sourceimpl<'a> Clone for FieldSyntax<'a>
impl<'a> Clone for FieldSyntax<'a>
sourcefn clone(&self) -> FieldSyntax<'a>
fn clone(&self) -> FieldSyntax<'a>
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<'a> Debug for FieldSyntax<'a>
impl<'a> Debug for FieldSyntax<'a>
sourceimpl<'a> Parse<'a> for FieldSyntax<'a>
impl<'a> Parse<'a> for FieldSyntax<'a>
sourceimpl<'a> PartialEq<FieldSyntax<'a>> for FieldSyntax<'a>
impl<'a> PartialEq<FieldSyntax<'a>> for FieldSyntax<'a>
sourcefn eq(&self, other: &FieldSyntax<'a>) -> bool
fn eq(&self, other: &FieldSyntax<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FieldSyntax<'a>) -> bool
fn ne(&self, other: &FieldSyntax<'a>) -> bool
This method tests for !=
.
impl<'a> Eq for FieldSyntax<'a>
impl<'a> StructuralEq for FieldSyntax<'a>
impl<'a> StructuralPartialEq for FieldSyntax<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for FieldSyntax<'a>
impl<'a> Send for FieldSyntax<'a>
impl<'a> Sync for FieldSyntax<'a>
impl<'a> Unpin for FieldSyntax<'a>
impl<'a> UnwindSafe for FieldSyntax<'a>
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more