[−][src]Struct dxplr::d3d::Blob
Wrapped around ID3D12Blob.
Trait Implementations
impl Clone for Blob
[src]
impl Debug for Blob
[src]
impl<'a> From<&'a Blob> for ShaderBytecode<'a>
[src]
pub fn from(src: &'a Blob) -> ShaderBytecode<'_>
[src]
impl IBlob for Blob
[src]
pub fn get_buffer_pointer(&self) -> *const c_void
[src]
pub fn get_buffer_pointer_mut(&mut self) -> *mut c_void
[src]
pub fn get_buffer_size(&self) -> usize
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn as_mut_slice(&mut self) -> &mut [u8]
[src]
pub fn to_vec(&self) -> Vec<u8>
[src]
pub fn as_cstr(&self) -> Result<&CStr, FromBytesWithNulError>
[src]
impl Interface for Blob
[src]
type APIType = ID3DBlob
pub fn new(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn uuidof() -> Guid
[src]
pub fn as_ptr(&self) -> *mut Self::APIType
[src]
pub fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
[src]
pub fn as_unknown(&self) -> *mut IUnknown
[src]
pub fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn query_interface<T: Interface>(&self) -> Result<T, HResult>
[src]
impl Send for Blob
[src]
impl Sync for Blob
[src]
Auto Trait Implementations
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>,