Struct daml_lf::element::DamlAbsoluteTyCon
source · [−]pub struct DamlAbsoluteTyCon<'a> { /* private fields */ }Expand description
A Daml absolute type constructor.
Implementations
sourceimpl<'a> DamlAbsoluteTyCon<'a>
impl<'a> DamlAbsoluteTyCon<'a>
pub fn new(
data_name: Cow<'a, str>,
package_id: Cow<'a, str>,
package_name: Cow<'a, str>,
module_path: Vec<Cow<'a, str>>
) -> Self
pub fn data_name(&self) -> &str
pub fn package_id(&self) -> &str
pub fn package_name(&self) -> &str
pub fn module_path(&self) -> impl Iterator<Item = &str>
Trait Implementations
sourceimpl<'a> Clone for DamlAbsoluteTyCon<'a>
impl<'a> Clone for DamlAbsoluteTyCon<'a>
sourcefn clone(&self) -> DamlAbsoluteTyCon<'a>
fn clone(&self) -> DamlAbsoluteTyCon<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> DamlVisitableElement<'a> for DamlAbsoluteTyCon<'a>
impl<'a> DamlVisitableElement<'a> for DamlAbsoluteTyCon<'a>
fn accept(&'a self, visitor: &'a mut impl DamlElementVisitor)
sourceimpl<'a> Debug for DamlAbsoluteTyCon<'a>
impl<'a> Debug for DamlAbsoluteTyCon<'a>
sourceimpl<'a> Hash for DamlAbsoluteTyCon<'a>
impl<'a> Hash for DamlAbsoluteTyCon<'a>
sourceimpl<'a> IntoBoundedStatic for DamlAbsoluteTyCon<'a>
impl<'a> IntoBoundedStatic for DamlAbsoluteTyCon<'a>
type Static = DamlAbsoluteTyCon<'static>
type Static = DamlAbsoluteTyCon<'static>
The target type is bounded by the 'static lifetime.
sourcefn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned T into an owned T such that T: 'static.
sourceimpl<'a> PartialEq<DamlAbsoluteTyCon<'a>> for DamlAbsoluteTyCon<'a>
impl<'a> PartialEq<DamlAbsoluteTyCon<'a>> for DamlAbsoluteTyCon<'a>
sourcefn eq(&self, other: &DamlAbsoluteTyCon<'a>) -> bool
fn eq(&self, other: &DamlAbsoluteTyCon<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DamlAbsoluteTyCon<'a>) -> bool
fn ne(&self, other: &DamlAbsoluteTyCon<'a>) -> bool
This method tests for !=.
sourceimpl<'a> Serialize for DamlAbsoluteTyCon<'a>
impl<'a> Serialize for DamlAbsoluteTyCon<'a>
sourceimpl<'a> ToBoundedStatic for DamlAbsoluteTyCon<'a>
impl<'a> ToBoundedStatic for DamlAbsoluteTyCon<'a>
type Static = DamlAbsoluteTyCon<'static>
type Static = DamlAbsoluteTyCon<'static>
The target type is bounded by the 'static lifetime.
impl<'a> Eq for DamlAbsoluteTyCon<'a>
impl<'a> StructuralEq for DamlAbsoluteTyCon<'a>
impl<'a> StructuralPartialEq for DamlAbsoluteTyCon<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for DamlAbsoluteTyCon<'a>
impl<'a> Send for DamlAbsoluteTyCon<'a>
impl<'a> Sync for DamlAbsoluteTyCon<'a>
impl<'a> Unpin for DamlAbsoluteTyCon<'a>
impl<'a> UnwindSafe for DamlAbsoluteTyCon<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more