pub struct RawAdStructureBuffer<StructBuf = StaticAdvStructBuf> {
pub ad_type: AdType,
pub buf: StructBuf,
}
Fields§
§ad_type: AdType
§buf: StructBuf
Implementations§
Source§impl<StructBuf> RawAdStructureBuffer<StructBuf>
impl<StructBuf> RawAdStructureBuffer<StructBuf>
Source§impl<StructBuf: AsRef<[u8]>> RawAdStructureBuffer<StructBuf>
impl<StructBuf: AsRef<[u8]>> RawAdStructureBuffer<StructBuf>
pub fn as_ref(&self) -> RawAdStructureBuffer<&[u8]>
Trait Implementations§
Source§impl<StructBuf: AsRef<[u8]>> AdStructureType for RawAdStructureBuffer<StructBuf>
impl<StructBuf: AsRef<[u8]>> AdStructureType for RawAdStructureBuffer<StructBuf>
Source§impl<StructBuf: Storage<u8>> UnpackableAdStructType for RawAdStructureBuffer<StructBuf>
impl<StructBuf: Storage<u8>> UnpackableAdStructType for RawAdStructureBuffer<StructBuf>
Auto Trait Implementations§
impl<StructBuf> Freeze for RawAdStructureBuffer<StructBuf>where
StructBuf: Freeze,
impl<StructBuf> RefUnwindSafe for RawAdStructureBuffer<StructBuf>where
StructBuf: RefUnwindSafe,
impl<StructBuf> Send for RawAdStructureBuffer<StructBuf>where
StructBuf: Send,
impl<StructBuf> Sync for RawAdStructureBuffer<StructBuf>where
StructBuf: Sync,
impl<StructBuf> Unpin for RawAdStructureBuffer<StructBuf>where
StructBuf: Unpin,
impl<StructBuf> UnwindSafe for RawAdStructureBuffer<StructBuf>where
StructBuf: UnwindSafe,
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