Trait AsRawPropertyValue

Source
pub trait AsRawPropertyValue {
    // Required method
    fn as_raw_property_value(&self) -> u64;
}
Expand description

Trait implemented by types that can be borrowed as raw property values.

For types that represent references to other objects already known by the kernel, such as property blobs, the caller must keep the original object live for as long as the result is being used in requests to the kernel.

Required Methods§

Implementations on Foreign Types§

Source§

impl AsRawPropertyValue for bool

Source§

impl AsRawPropertyValue for i8

Source§

impl AsRawPropertyValue for i16

Source§

impl AsRawPropertyValue for i32

Source§

impl AsRawPropertyValue for i64

Source§

impl AsRawPropertyValue for isize

Source§

impl AsRawPropertyValue for u8

Source§

impl AsRawPropertyValue for u16

Source§

impl AsRawPropertyValue for u32

Source§

impl AsRawPropertyValue for u64

Source§

impl AsRawPropertyValue for usize

Implementors§