pub struct DamlSyn<'a> {
pub tysyn: Box<DamlTypeSynName<'a>>,
pub args: Vec<DamlType<'a>>,
}Expand description
A Daml type synonym.
Fields§
§tysyn: Box<DamlTypeSynName<'a>>§args: Vec<DamlType<'a>>Implementations§
Trait Implementations§
Source§impl<'a> DamlVisitableElement<'a> for DamlSyn<'a>
impl<'a> DamlVisitableElement<'a> for DamlSyn<'a>
fn accept(&'a self, visitor: &'a mut impl DamlElementVisitor)
Source§impl<'a> IntoBoundedStatic for DamlSyn<'a>
impl<'a> IntoBoundedStatic for DamlSyn<'a>
Auto Trait Implementations§
impl<'a> Freeze for DamlSyn<'a>
impl<'a> RefUnwindSafe for DamlSyn<'a>
impl<'a> Send for DamlSyn<'a>
impl<'a> Sync for DamlSyn<'a>
impl<'a> Unpin for DamlSyn<'a>
impl<'a> UnwindSafe for DamlSyn<'a>
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more