Struct dgen::ConstString
source · pub struct ConstString(_);
Implementations
sourceimpl ConstString
impl ConstString
pub fn new<T: Into<IString>>(val: T) -> AnyFunction
Trait Implementations
sourceimpl Clone for ConstString
impl Clone for ConstString
sourcefn clone(&self) -> ConstString
fn clone(&self) -> ConstString
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConstString
impl Debug for ConstString
sourceimpl PartialEq<ConstString> for ConstString
impl PartialEq<ConstString> for ConstString
sourcefn eq(&self, other: &ConstString) -> bool
fn eq(&self, other: &ConstString) -> bool
sourceimpl RunnableFunction<Atom<EmptyStaticAtomSet>> for ConstString
impl RunnableFunction<Atom<EmptyStaticAtomSet>> for ConstString
fn gen_value(&self, _context: &mut ProgramContext) -> Result<IString, Error>
fn write_value(
&self,
_context: &mut ProgramContext,
output: &mut DataGenOutput<'_>
) -> Result<u64, Error>
impl StructuralPartialEq for ConstString
Auto Trait Implementations
impl RefUnwindSafe for ConstString
impl Send for ConstString
impl Sync for ConstString
impl Unpin for ConstString
impl UnwindSafe for ConstString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more