#[non_exhaustive]pub struct ExternalTextureT {
pub name_hash: u32,
pub name: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name_hash: u32§name: Option<String>Implementations§
Source§impl ExternalTextureT
impl ExternalTextureT
pub fn pack<'b, A: Allocator + 'b>( &self, _fbb: &mut FlatBufferBuilder<'b, A>, ) -> WIPOffset<ExternalTexture<'b>>
Trait Implementations§
Source§impl Clone for ExternalTextureT
impl Clone for ExternalTextureT
Source§impl Debug for ExternalTextureT
impl Debug for ExternalTextureT
Source§impl Default for ExternalTextureT
impl Default for ExternalTextureT
Source§impl PartialEq for ExternalTextureT
impl PartialEq for ExternalTextureT
impl StructuralPartialEq for ExternalTextureT
Auto Trait Implementations§
impl Freeze for ExternalTextureT
impl RefUnwindSafe for ExternalTextureT
impl Send for ExternalTextureT
impl Sync for ExternalTextureT
impl Unpin for ExternalTextureT
impl UnsafeUnpin for ExternalTextureT
impl UnwindSafe for ExternalTextureT
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