Skip to main content

TypedObjectValue

Trait TypedObjectValue 

Source
pub trait TypedObjectValue {
    // Required method
    fn is_object(&self) -> bool;
}
Expand description

Type checks for object values on a value

Required Methods§

Source

fn is_object(&self) -> bool

returns true if the current value can be represented as an object

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§