Struct ResourceIdSpec
pub struct ResourceIdSpec {
pub resource: u32,
pub type_: u32,
}Fields§
§resource: u32§type_: u32Trait Implementations§
§impl Clone for ResourceIdSpec
impl Clone for ResourceIdSpec
§fn clone(&self) -> ResourceIdSpec
fn clone(&self) -> ResourceIdSpec
Returns a duplicate 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 ResourceIdSpec
impl Debug for ResourceIdSpec
§impl Default for ResourceIdSpec
impl Default for ResourceIdSpec
§fn default() -> ResourceIdSpec
fn default() -> ResourceIdSpec
Returns the “default value” for a type. Read more
§impl Serialize for ResourceIdSpec
impl Serialize for ResourceIdSpec
§impl TryParse for ResourceIdSpec
impl TryParse for ResourceIdSpec
§fn try_parse(remaining: &[u8]) -> Result<(ResourceIdSpec, &[u8]), ParseError>
fn try_parse(remaining: &[u8]) -> Result<(ResourceIdSpec, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
impl Copy for ResourceIdSpec
Auto Trait Implementations§
impl Freeze for ResourceIdSpec
impl RefUnwindSafe for ResourceIdSpec
impl Send for ResourceIdSpec
impl Sync for ResourceIdSpec
impl Unpin for ResourceIdSpec
impl UnwindSafe for ResourceIdSpec
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,
§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>,
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd>, ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more