Struct ConfigureProviderPropertyRequest
pub struct ConfigureProviderPropertyRequest<'input> {
pub provider: u32,
pub property: u32,
pub pending: bool,
pub range: bool,
pub values: Cow<'input, [i32]>,
}
Fields§
§provider: u32
§property: u32
§pending: bool
§range: bool
§values: Cow<'input, [i32]>
Implementations§
§impl<'input> ConfigureProviderPropertyRequest<'input>
impl<'input> ConfigureProviderPropertyRequest<'input>
pub fn serialize(
self,
major_opcode: u8,
) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
pub fn serialize( self, major_opcode: u8, ) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
Serialize this request into bytes for the provided connection
pub fn into_owned(self) -> ConfigureProviderPropertyRequest<'static>
pub fn into_owned(self) -> ConfigureProviderPropertyRequest<'static>
Clone all borrowed data in this ConfigureProviderPropertyRequest.
Trait Implementations§
§impl<'input> Clone for ConfigureProviderPropertyRequest<'input>
impl<'input> Clone for ConfigureProviderPropertyRequest<'input>
§fn clone(&self) -> ConfigureProviderPropertyRequest<'input>
fn clone(&self) -> ConfigureProviderPropertyRequest<'input>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ConfigureProviderPropertyRequest<'_>
impl Debug for ConfigureProviderPropertyRequest<'_>
§impl<'input> Default for ConfigureProviderPropertyRequest<'input>
impl<'input> Default for ConfigureProviderPropertyRequest<'input>
§fn default() -> ConfigureProviderPropertyRequest<'input>
fn default() -> ConfigureProviderPropertyRequest<'input>
Returns the “default value” for a type. Read more
§impl<'input> Request for ConfigureProviderPropertyRequest<'input>
impl<'input> Request for ConfigureProviderPropertyRequest<'input>
impl<'input> VoidRequest for ConfigureProviderPropertyRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for ConfigureProviderPropertyRequest<'input>
impl<'input> RefUnwindSafe for ConfigureProviderPropertyRequest<'input>
impl<'input> Send for ConfigureProviderPropertyRequest<'input>
impl<'input> Sync for ConfigureProviderPropertyRequest<'input>
impl<'input> Unpin for ConfigureProviderPropertyRequest<'input>
impl<'input> UnwindSafe for ConfigureProviderPropertyRequest<'input>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)