Struct cl_ast::ast::StructMember
source · pub struct StructMember {
pub vis: Visibility,
pub name: Sym,
pub ty: Ty,
}
Expand description
The Visibility, Sym, and Type of a single Struct member
Fields§
§vis: Visibility
§name: Sym
§ty: Ty
Trait Implementations§
source§impl Clone for StructMember
impl Clone for StructMember
source§fn clone(&self) -> StructMember
fn clone(&self) -> StructMember
Returns a copy 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 StructMember
impl Debug for StructMember
source§impl Display for StructMember
impl Display for StructMember
source§impl Hash for StructMember
impl Hash for StructMember
source§impl PartialEq for StructMember
impl PartialEq for StructMember
source§fn eq(&self, other: &StructMember) -> bool
fn eq(&self, other: &StructMember) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StructMember
impl StructuralPartialEq for StructMember
Auto Trait Implementations§
impl Freeze for StructMember
impl RefUnwindSafe for StructMember
impl Send for StructMember
impl Sync for StructMember
impl Unpin for StructMember
impl UnwindSafe for StructMember
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