Trait Append
pub trait Append {
// Required methods
pub fn empty() -> Self;
pub fn append(self, other: Self) -> Self;
}
pub trait Append {
// Required methods
pub fn empty() -> Self;
pub fn append(self, other: Self) -> Self;
}
impl Append for CtStringimpl Append for Quotedimpl<T> Append for [T]
Appends two values together, returning the result.
An alternate name for this trait is
Monoidif that is familiar. If not, it can be ignored.It is expected that for any implementation:
T::empty().append(x) == xx.append(T::empty()) == x