Trait tensor_toolbox::nullable::Nullable
source · pub trait Nullable: AnchorSerialize + AnchorDeserialize {
const NONE: Self;
// Required methods
fn is_some(&self) -> bool;
fn is_none(&self) -> bool;
}
Expand description
Used for Brosh types that can have a None
value.
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.