pub struct Description {
pub clauses: Vec<Clause>,
}
Expand description
A GDL description. Contains a vector of Clause
s, which are the top-level statements in
a GDL description.
Fields§
§clauses: Vec<Clause>
Implementations§
Source§impl Description
impl Description
Sourcepub fn new(clauses: Vec<Clause>) -> Description
pub fn new(clauses: Vec<Clause>) -> Description
Constructs a new description from a vector of Clause
s
Trait Implementations§
Source§impl Clone for Description
impl Clone for Description
Source§fn clone(&self) -> Description
fn clone(&self) -> Description
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 Description
impl Debug for Description
Source§impl Decodable for Description
impl Decodable for Description
Source§impl Display for Description
impl Display for Description
Source§impl Encodable for Description
impl Encodable for Description
Source§impl Hash for Description
impl Hash for Description
Source§impl Ord for Description
impl Ord for Description
Source§fn cmp(&self, other: &Description) -> Ordering
fn cmp(&self, other: &Description) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Description
impl PartialEq for Description
Source§impl PartialOrd for Description
impl PartialOrd for Description
impl Eq for Description
impl StructuralPartialEq for Description
Auto Trait Implementations§
impl Freeze for Description
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnwindSafe for Description
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)