Struct xproto::__BindgenUnionField [−][src]
Implementations
impl<T> __BindgenUnionField<T>
[src]
pub fn new() -> Self
[src]
pub unsafe fn as_ref(&self) -> &T
[src]
pub unsafe fn as_mut(&mut self) -> &mut T
[src]
Trait Implementations
impl<T> Clone for __BindgenUnionField<T>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Copy for __BindgenUnionField<T>
[src]
impl<T> Debug for __BindgenUnionField<T>
[src]
impl<T> Default for __BindgenUnionField<T>
[src]
impl<T> Eq for __BindgenUnionField<T>
[src]
impl<T> Hash for __BindgenUnionField<T>
[src]
fn hash<H: Hasher>(&self, _state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T> Parcel for __BindgenUnionField<T> where
T: Parcel,
[src]
T: Parcel,
const TYPE_NAME: &'static str
[src]
fn read_field(
__io_reader: &mut dyn Read,
__settings: &Settings,
_: &mut Hints
) -> Result<Self, Error>
[src]
__io_reader: &mut dyn Read,
__settings: &Settings,
_: &mut Hints
) -> Result<Self, Error>
fn write_field(
&self,
__io_writer: &mut dyn Write,
__settings: &Settings,
_: &mut Hints
) -> Result<(), Error>
[src]
&self,
__io_writer: &mut dyn Write,
__settings: &Settings,
_: &mut Hints
) -> Result<(), Error>
pub fn read(read: &mut dyn Read, settings: &Settings) -> Result<Self, Error>
[src]
pub fn write(
&self,
write: &mut dyn Write,
settings: &Settings
) -> Result<(), Error>
[src]
&self,
write: &mut dyn Write,
settings: &Settings
) -> Result<(), Error>
pub fn into_stream(
self,
settings: &Settings
) -> Result<Cursor<Vec<u8, Global>>, Error>
[src]
self,
settings: &Settings
) -> Result<Cursor<Vec<u8, Global>>, Error>
pub fn from_raw_bytes(bytes: &[u8], settings: &Settings) -> Result<Self, Error>
[src]
pub fn field_from_raw_bytes(
bytes: &[u8],
settings: &Settings,
hints: &mut Hints
) -> Result<Self, Error>
[src]
bytes: &[u8],
settings: &Settings,
hints: &mut Hints
) -> Result<Self, Error>
pub fn raw_bytes(&self, settings: &Settings) -> Result<Vec<u8, Global>, Error>
[src]
pub fn raw_bytes_field(
&self,
settings: &Settings,
hints: &mut Hints
) -> Result<Vec<u8, Global>, Error>
[src]
&self,
settings: &Settings,
hints: &mut Hints
) -> Result<Vec<u8, Global>, Error>
pub fn type_name(&self) -> &'static str
[src]
impl<T> PartialEq<__BindgenUnionField<T>> for __BindgenUnionField<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for __BindgenUnionField<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for __BindgenUnionField<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for __BindgenUnionField<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for __BindgenUnionField<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for __BindgenUnionField<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,