pub struct DomainDecl {
pub name: String,
pub typ: ScalarType,
}Expand description
Domain declaration
Fields§
§name: StringDomain name.
typ: ScalarTypeScalar type for the domain.
Trait Implementations§
Source§impl Clone for DomainDecl
impl Clone for DomainDecl
Source§fn clone(&self) -> DomainDecl
fn clone(&self) -> DomainDecl
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 DomainDecl
impl Debug for DomainDecl
Source§impl PartialEq for DomainDecl
impl PartialEq for DomainDecl
Source§fn eq(&self, other: &DomainDecl) -> bool
fn eq(&self, other: &DomainDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DomainDecl
Auto Trait Implementations§
impl Freeze for DomainDecl
impl RefUnwindSafe for DomainDecl
impl Send for DomainDecl
impl Sync for DomainDecl
impl Unpin for DomainDecl
impl UnsafeUnpin for DomainDecl
impl UnwindSafe for DomainDecl
Blanket Implementations§
impl<T> Allocation for T
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