pub struct LibraryMetadata<'a> {
pub api_version: c_int,
pub version: c_int,
pub version_str: &'a CStr,
pub description: &'a CStr,
pub name: &'a CStr,
pub author: &'a CStr,
pub package: &'a CStr,
}
Expand description
Represents metadata about this library which Janus can query at runtime.
Fields§
§api_version: c_int
§version: c_int
§version_str: &'a CStr
§description: &'a CStr
§name: &'a CStr
§package: &'a CStr
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LibraryMetadata<'a>
impl<'a> RefUnwindSafe for LibraryMetadata<'a>
impl<'a> Send for LibraryMetadata<'a>
impl<'a> Sync for LibraryMetadata<'a>
impl<'a> Unpin for LibraryMetadata<'a>
impl<'a> UnwindSafe for LibraryMetadata<'a>
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