pub(super) struct HeadDecoder<'a> {
head: &'a RuleHead,
ruleset: &'a str,
}Fields§
§head: &'a RuleHead§ruleset: &'a strTrait Implementations§
Source§impl RuleDecoder for HeadDecoder<'_>
impl RuleDecoder for HeadDecoder<'_>
Source§type Error = ForgeError
type Error = ForgeError
Why the parameters cannot be read.
Source§fn parameters<T: for<'a> Facet<'a>>(&self) -> Result<T, ForgeError>
fn parameters<T: for<'a> Facet<'a>>(&self) -> Result<T, ForgeError>
Decode the parameters of the rule. Read more
Auto Trait Implementations§
impl<'a> Freeze for HeadDecoder<'a>
impl<'a> RefUnwindSafe for HeadDecoder<'a>
impl<'a> Send for HeadDecoder<'a>
impl<'a> Sync for HeadDecoder<'a>
impl<'a> Unpin for HeadDecoder<'a>
impl<'a> UnsafeUnpin for HeadDecoder<'a>
impl<'a> UnwindSafe for HeadDecoder<'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