pub struct TestValue { /* private fields */ }Implementations§
Source§impl TestValue
impl TestValue
pub fn integer(value: i64) -> Self
pub fn float(value: f64) -> Self
pub fn boolean(value: bool) -> Self
pub fn external<T: RadixType>( package: &'static RadixPluginDescriptorV1, value: &T, ) -> PluginResult<Self>
pub fn null_like(value: &Self) -> Self
pub fn type_ref(&self) -> RadixAbiTypeRefV1
Trait Implementations§
impl Eq for TestValue
impl StructuralPartialEq for TestValue
Auto Trait Implementations§
impl Freeze for TestValue
impl RefUnwindSafe for TestValue
impl Send for TestValue
impl Sync for TestValue
impl Unpin for TestValue
impl UnsafeUnpin for TestValue
impl UnwindSafe for TestValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more