pub struct BasicFunctionTerm(/* private fields */);Expand description
§Usage
Used by InitElement.
Implementations§
Source§impl BasicFunctionTerm
impl BasicFunctionTerm
Sourcepub fn new<N: IntoIterator<Item = Name>>(
symbol: FunctionSymbol,
names: N,
) -> Self
pub fn new<N: IntoIterator<Item = Name>>( symbol: FunctionSymbol, names: N, ) -> Self
Creates a new basic function term, (<function-symbol> <name>*).
Sourcepub const fn symbol(&self) -> &FunctionSymbol
pub const fn symbol(&self) -> &FunctionSymbol
Returns the function symbol.
Trait Implementations§
Source§impl AsRef<FunctionSymbol> for BasicFunctionTerm
impl AsRef<FunctionSymbol> for BasicFunctionTerm
Source§fn as_ref(&self) -> &FunctionSymbol
fn as_ref(&self) -> &FunctionSymbol
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<[Name]> for BasicFunctionTerm
impl AsRef<[Name]> for BasicFunctionTerm
Source§impl Clone for BasicFunctionTerm
impl Clone for BasicFunctionTerm
Source§impl Debug for BasicFunctionTerm
impl Debug for BasicFunctionTerm
Source§impl<'de> Deserialize<'de> for BasicFunctionTerm
Available on crate feature serde only.
impl<'de> Deserialize<'de> for BasicFunctionTerm
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Parser for BasicFunctionTerm
Available on crate feature parser only.
impl Parser for BasicFunctionTerm
Available on crate feature
parser only.Source§type Item = BasicFunctionTerm
type Item = BasicFunctionTerm
The parsed value;
Self except for
DurationConstraint, which may be empty.Source§impl PartialEq for BasicFunctionTerm
impl PartialEq for BasicFunctionTerm
Source§impl Serialize for BasicFunctionTerm
Available on crate feature serde only.
impl Serialize for BasicFunctionTerm
Available on crate feature
serde only.impl StructuralPartialEq for BasicFunctionTerm
Source§impl Visitor<BasicFunctionTerm, RcDoc<'static>> for PrettyRenderer
Available on crate feature pretty only.
impl Visitor<BasicFunctionTerm, RcDoc<'static>> for PrettyRenderer
Available on crate feature
pretty only.Source§fn visit(&self, value: &BasicFunctionTerm) -> RcDoc<'static>
fn visit(&self, value: &BasicFunctionTerm) -> RcDoc<'static>
Visits
value and returns the result.Auto Trait Implementations§
impl Forget for BasicFunctionTerm
impl Freeze for BasicFunctionTerm
impl Move for BasicFunctionTerm
impl RefUnwindSafe for BasicFunctionTerm
impl Send for BasicFunctionTerm
impl Sync for BasicFunctionTerm
impl Unpin for BasicFunctionTerm
impl UnsafeUnpin for BasicFunctionTerm
impl UnwindSafe for BasicFunctionTerm
Blanket Implementations§
Source§impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
Source§fn accept_mut(&self, v: &mut V) -> O
fn accept_mut(&self, v: &mut V) -> O
Lets the mutable visitor
v visit self.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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Pretty for Twhere
T: PrettyVisit,
impl<T> Pretty for Twhere
T: PrettyVisit,
Source§impl<T> PrettyVisit for T
impl<T> PrettyVisit for T
Source§fn to_doc(&self, r: &PrettyRenderer) -> RcDoc<'static>
fn to_doc(&self, r: &PrettyRenderer) -> RcDoc<'static>
Available on crate feature
pretty only.Builds the document for
self with the renderer r.