Trait SetValue

Source
pub trait SetValue: StaticType {
    // Required method
    unsafe fn set_value(: &mut Value, : &Self);
}
Expand description

Sets a value.

Required Methods§

Source

unsafe fn set_value(: &mut Value, : &Self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SetValue for bool

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl SetValue for f32

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl SetValue for f64

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl SetValue for i8

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl SetValue for i32

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl SetValue for i64

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl SetValue for str

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl SetValue for u8

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl SetValue for u32

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl SetValue for u64

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl SetValue for String

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl SetValue for Vec<String>

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl<'a> SetValue for [&'a str]

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Source§

impl<'a, T: ?Sized + SetValue> SetValue for &'a T

Source§

unsafe fn set_value(value: &mut Value, this: &Self)

Implementors§