pub struct EffectiveProjection { /* private fields */ }Expand description
The effective mechanical configuration of one generated projection.
Implementations§
Source§impl EffectiveProjection
impl EffectiveProjection
Sourcepub const fn role(&self) -> RecipeRole
pub const fn role(&self) -> RecipeRole
Reads the selected role.
Sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Reads the effective public spelling where this role declares one.
Sourcepub fn subject(&self) -> Option<&str>
pub fn subject(&self) -> Option<&str>
Reads the informed structural subject selected for this projection.
Sourcepub const fn source(&self) -> LoweringSource
pub const fn source(&self) -> LoweringSource
Reads where the effective value came from.
Sourcepub const fn exact_rust(&self) -> Option<&GeneratedTree>
pub const fn exact_rust(&self) -> Option<&GeneratedTree>
Reads the exact caller-authored Rust that replaced this mechanical seat.
Sourcepub const fn dispatch_binding_tokens(&self) -> Option<&[GeneratedToken; 2]>
pub const fn dispatch_binding_tokens(&self) -> Option<&[GeneratedToken; 2]>
Reads the exact state and event binding tokens selected for an exact dispatch body.
Sourcepub fn dispatch_bindings(&self) -> Option<[&str; 2]>
pub fn dispatch_bindings(&self) -> Option<[&str; 2]>
Reads the state and event parameter bindings selected for an exact dispatch body.
Sourcepub const fn dispatch_subject_imports(&self) -> Option<[bool; 2]>
pub const fn dispatch_subject_imports(&self) -> Option<[bool; 2]>
Reads whether an exact dispatch signature requires each transition vocabulary in scope.
Sourcepub fn relation_tables(&self) -> impl Iterator<Item = &RelationTableProjection>
pub fn relation_tables(&self) -> impl Iterator<Item = &RelationTableProjection>
Reads every selected relation-table surface in declaration order.
Trait Implementations§
Source§impl Clone for EffectiveProjection
impl Clone for EffectiveProjection
Source§fn clone(&self) -> EffectiveProjection
fn clone(&self) -> EffectiveProjection
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 EffectiveProjection
impl Debug for EffectiveProjection
impl Eq for EffectiveProjection
Source§impl Hash for EffectiveProjection
impl Hash for EffectiveProjection
Source§impl PartialEq for EffectiveProjection
impl PartialEq for EffectiveProjection
impl StructuralPartialEq for EffectiveProjection
Auto Trait Implementations§
impl Freeze for EffectiveProjection
impl RefUnwindSafe for EffectiveProjection
impl Send for EffectiveProjection
impl Sync for EffectiveProjection
impl Unpin for EffectiveProjection
impl UnsafeUnpin for EffectiveProjection
impl UnwindSafe for EffectiveProjection
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