pub struct SubjectDecl {
pub name: String,
pub type_name: String,
}Expand description
Subject declaration: subject name : type ;.
Fields§
§name: String§type_name: StringTrait Implementations§
Source§impl Clone for SubjectDecl
impl Clone for SubjectDecl
Source§fn clone(&self) -> SubjectDecl
fn clone(&self) -> SubjectDecl
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 SubjectDecl
impl Debug for SubjectDecl
impl Eq for SubjectDecl
Source§impl PartialEq for SubjectDecl
impl PartialEq for SubjectDecl
Source§fn eq(&self, other: &SubjectDecl) -> bool
fn eq(&self, other: &SubjectDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubjectDecl
Auto Trait Implementations§
impl Freeze for SubjectDecl
impl RefUnwindSafe for SubjectDecl
impl Send for SubjectDecl
impl Sync for SubjectDecl
impl Unpin for SubjectDecl
impl UnsafeUnpin for SubjectDecl
impl UnwindSafe for SubjectDecl
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