Struct dgen::ConstBoolean
source · pub struct ConstBoolean(_);
Implementations
sourceimpl ConstBoolean
impl ConstBoolean
pub fn new<T: Into<bool>>(val: T) -> AnyFunction
Trait Implementations
sourceimpl Clone for ConstBoolean
impl Clone for ConstBoolean
sourcefn clone(&self) -> ConstBoolean
fn clone(&self) -> ConstBoolean
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 ConstBoolean
impl Debug for ConstBoolean
sourceimpl PartialEq<ConstBoolean> for ConstBoolean
impl PartialEq<ConstBoolean> for ConstBoolean
sourcefn eq(&self, other: &ConstBoolean) -> bool
fn eq(&self, other: &ConstBoolean) -> bool
sourceimpl RunnableFunction<bool> for ConstBoolean
impl RunnableFunction<bool> for ConstBoolean
fn gen_value(&self, _context: &mut ProgramContext) -> Result<bool, Error>
fn write_value(
&self,
_context: &mut ProgramContext,
output: &mut DataGenOutput<'_>
) -> Result<u64, Error>
impl StructuralPartialEq for ConstBoolean
Auto Trait Implementations
impl RefUnwindSafe for ConstBoolean
impl Send for ConstBoolean
impl Sync for ConstBoolean
impl Unpin for ConstBoolean
impl UnwindSafe for ConstBoolean
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