pub struct DeleteTexturesRequest<'input> {
pub context_tag: u32,
pub textures: Cow<'input, [u32]>,
}Fields§
§context_tag: u32§textures: Cow<'input, [u32]>Implementations§
Source§impl<'input> DeleteTexturesRequest<'input>
impl<'input> DeleteTexturesRequest<'input>
Sourcepub fn serialize(
self,
major_opcode: u8,
) -> (Vec<Cow<'input, [u8]>>, Vec<RawFdContainer>)
pub fn serialize( self, major_opcode: u8, ) -> (Vec<Cow<'input, [u8]>>, Vec<RawFdContainer>)
Serialize this request into bytes for the provided connection
Sourcepub fn try_parse_request(
header: RequestHeader,
value: &'input [u8],
) -> Result<DeleteTexturesRequest<'input>, ParseError>
pub fn try_parse_request( header: RequestHeader, value: &'input [u8], ) -> Result<DeleteTexturesRequest<'input>, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Sourcepub fn into_owned(self) -> DeleteTexturesRequest<'static>
pub fn into_owned(self) -> DeleteTexturesRequest<'static>
Clone all borrowed data in this DeleteTexturesRequest.
Trait Implementations§
Source§impl<'input> Clone for DeleteTexturesRequest<'input>
impl<'input> Clone for DeleteTexturesRequest<'input>
Source§fn clone(&self) -> DeleteTexturesRequest<'input>
fn clone(&self) -> DeleteTexturesRequest<'input>
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 moreSource§impl<'input> Debug for DeleteTexturesRequest<'input>
impl<'input> Debug for DeleteTexturesRequest<'input>
Source§impl<'input> Default for DeleteTexturesRequest<'input>
impl<'input> Default for DeleteTexturesRequest<'input>
Source§fn default() -> DeleteTexturesRequest<'input>
fn default() -> DeleteTexturesRequest<'input>
Returns the “default value” for a type. Read more
Source§impl<'input> Hash for DeleteTexturesRequest<'input>
impl<'input> Hash for DeleteTexturesRequest<'input>
Source§impl<'input> Ord for DeleteTexturesRequest<'input>
impl<'input> Ord for DeleteTexturesRequest<'input>
Source§fn cmp(&self, other: &DeleteTexturesRequest<'input>) -> Ordering
fn cmp(&self, other: &DeleteTexturesRequest<'input>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'input> PartialEq for DeleteTexturesRequest<'input>
impl<'input> PartialEq for DeleteTexturesRequest<'input>
Source§fn eq(&self, other: &DeleteTexturesRequest<'input>) -> bool
fn eq(&self, other: &DeleteTexturesRequest<'input>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'input> PartialOrd for DeleteTexturesRequest<'input>
impl<'input> PartialOrd for DeleteTexturesRequest<'input>
Source§impl<'input> Request for DeleteTexturesRequest<'input>
impl<'input> Request for DeleteTexturesRequest<'input>
impl<'input> Eq for DeleteTexturesRequest<'input>
impl<'input> StructuralPartialEq for DeleteTexturesRequest<'input>
impl<'input> VoidRequest for DeleteTexturesRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for DeleteTexturesRequest<'input>
impl<'input> RefUnwindSafe for DeleteTexturesRequest<'input>
impl<'input> Send for DeleteTexturesRequest<'input>
impl<'input> Sync for DeleteTexturesRequest<'input>
impl<'input> Unpin for DeleteTexturesRequest<'input>
impl<'input> UnwindSafe for DeleteTexturesRequest<'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