pub struct Utf8BufferArray { /* private fields */ }Expand description
The strings of a list as an array of pointers to zero-terminated UTF-8 strings, the form in which Vulkan takes the names of layers and extensions. The array is valid for as long as the value lives.
Implementations§
Source§impl Utf8BufferArray
impl Utf8BufferArray
Sourcepub fn new<S: AsRef<str>>(strings: impl IntoIterator<Item = S>) -> Self
pub fn new<S: AsRef<str>>(strings: impl IntoIterator<Item = S>) -> Self
Copies the strings. A string is cut at its first zero character, which is where a reader of the zero-terminated copy stops.
Auto Trait Implementations§
impl !Send for Utf8BufferArray
impl !Sync for Utf8BufferArray
impl Freeze for Utf8BufferArray
impl RefUnwindSafe for Utf8BufferArray
impl Unpin for Utf8BufferArray
impl UnsafeUnpin for Utf8BufferArray
impl UnwindSafe for Utf8BufferArray
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more