pub struct PropertyTypeExpr {
pub alternatives: Vec<PropertyTypeTerm>,
}Expand description
A closed dynamic union of property types: T1 | T2 | .... A single
type is represented as a one-element union.
Fields§
§alternatives: Vec<PropertyTypeTerm>Trait Implementations§
Source§impl Clone for PropertyTypeExpr
impl Clone for PropertyTypeExpr
Source§fn clone(&self) -> PropertyTypeExpr
fn clone(&self) -> PropertyTypeExpr
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 PropertyTypeExpr
impl Debug for PropertyTypeExpr
Source§impl PartialEq for PropertyTypeExpr
impl PartialEq for PropertyTypeExpr
Source§fn eq(&self, other: &PropertyTypeExpr) -> bool
fn eq(&self, other: &PropertyTypeExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PropertyTypeExpr
Auto Trait Implementations§
impl Freeze for PropertyTypeExpr
impl RefUnwindSafe for PropertyTypeExpr
impl Send for PropertyTypeExpr
impl Sync for PropertyTypeExpr
impl Unpin for PropertyTypeExpr
impl UnsafeUnpin for PropertyTypeExpr
impl UnwindSafe for PropertyTypeExpr
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