pub struct InterlaceModule { /* private fields */ }Expand description
Public 040 interlace module.
Implementations§
Source§impl InterlaceModule
impl InterlaceModule
Sourcepub fn from_text(text: &str) -> Result<InterlaceModule, PreparationError>
pub fn from_text(text: &str) -> Result<InterlaceModule, PreparationError>
Canonicalize and validate an interlace module from lacegram text.
Sourcepub fn canonical_text(&self) -> &str
pub fn canonical_text(&self) -> &str
Canonical 030 lacegram text for this interlace module.
Sourcepub fn lacegram_resource_hash(&self) -> RecordHash
pub fn lacegram_resource_hash(&self) -> RecordHash
Blob record hash for this canonical lacegram text.
Sourcepub fn from_rules(rules: Vec<Rule>) -> Result<InterlaceModule, PreparationError>
pub fn from_rules(rules: Vec<Rule>) -> Result<InterlaceModule, PreparationError>
Validate ordinary rules and derive their canonical text and identity.
Sourcepub fn has_facet(&self) -> bool
pub fn has_facet(&self) -> bool
Whether some rule defines a standard exchange facet. Operands require one; a helper-only program is not an exchange policy.
pub fn id(&self) -> RecordHash
Trait Implementations§
Source§impl Clone for InterlaceModule
impl Clone for InterlaceModule
Source§fn clone(&self) -> InterlaceModule
fn clone(&self) -> InterlaceModule
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 InterlaceModule
impl Debug for InterlaceModule
impl Eq for InterlaceModule
Source§impl PartialEq for InterlaceModule
impl PartialEq for InterlaceModule
Source§fn eq(&self, other: &InterlaceModule) -> bool
fn eq(&self, other: &InterlaceModule) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
impl Freeze for InterlaceModule
impl RefUnwindSafe for InterlaceModule
impl Send for InterlaceModule
impl Sync for InterlaceModule
impl Unpin for InterlaceModule
impl UnsafeUnpin for InterlaceModule
impl UnwindSafe for InterlaceModule
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