Struct rant::RantNothing
source · [−]pub struct RantNothing;
Expand description
Rant’s “nothing” value.
Trait Implementations
sourceimpl FromRant for RantNothing
impl FromRant for RantNothing
sourcefn from_rant(v: RantValue) -> RantNothing
fn from_rant(v: RantValue) -> RantNothing
Converts from a RantValue
.
sourcefn is_optional_param_type() -> bool
fn is_optional_param_type() -> bool
Returns true
if the type can be used to represent an optional Rant parameter in native functions; otherwise, false
.
sourceimpl TryFromRant for RantNothing
impl TryFromRant for RantNothing
sourcefn try_from_rant(val: RantValue) -> Result<RantNothing, ValueError>
fn try_from_rant(val: RantValue) -> Result<RantNothing, ValueError>
Convert from a RantValue
.
sourcefn is_optional_param_type() -> bool
fn is_optional_param_type() -> bool
Returns true
if the type can be used to represent an optional Rant parameter in native functions; otherwise, false
.
sourceimpl TryIntoRant for RantNothing
impl TryIntoRant for RantNothing
sourcefn try_into_rant(self) -> Result<RantValue, ValueError>
fn try_into_rant(self) -> Result<RantValue, ValueError>
Attempts to convert to a RantValue
.
Auto Trait Implementations
impl RefUnwindSafe for RantNothing
impl Send for RantNothing
impl Sync for RantNothing
impl Unpin for RantNothing
impl UnwindSafe for RantNothing
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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