#[repr(C)]pub struct VSCoreInfo2 {
pub version_string: *const c_char,
pub core: c_int,
pub api: c_int,
pub creation_flags: c_int,
pub num_threads: c_int,
pub max_framebuffer_size: i64,
pub used_framebuffer_size: i64,
}Expand description
Contains information about a VSCore instance.
Same as VSCoreInfo, plus the flags the core was created with. Added in API 4.2.
Fields§
§version_string: *const c_charPrintable string containing the name of the library, copyright notice, core and API versions.
core: c_intVersion of the core.
api: c_intVersion of the API.
creation_flags: c_intThe VSCoreCreationFlags the core was created with.
num_threads: c_intNumber of worker threads.
max_framebuffer_size: i64The framebuffer cache will be allowed to grow up to this size (bytes) before memory is aggressively reclaimed.
used_framebuffer_size: i64Current size of the framebuffer cache, in bytes.
Trait Implementations§
Source§impl Clone for VSCoreInfo2
impl Clone for VSCoreInfo2
Source§fn clone(&self) -> VSCoreInfo2
fn clone(&self) -> VSCoreInfo2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VSCoreInfo2
impl Debug for VSCoreInfo2
impl Eq for VSCoreInfo2
Source§impl Hash for VSCoreInfo2
impl Hash for VSCoreInfo2
Source§impl PartialEq for VSCoreInfo2
impl PartialEq for VSCoreInfo2
impl StructuralPartialEq for VSCoreInfo2
Auto Trait Implementations§
impl !Send for VSCoreInfo2
impl !Sync for VSCoreInfo2
impl Freeze for VSCoreInfo2
impl RefUnwindSafe for VSCoreInfo2
impl Unpin for VSCoreInfo2
impl UnsafeUnpin for VSCoreInfo2
impl UnwindSafe for VSCoreInfo2
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