pub struct LibraryInfo {
pub name: &'static str,
pub version: &'static str,
pub features: Vec<&'static str>,
}
Expand description
库信息
Fields§
§name: &'static str
库名称
version: &'static str
库版本
features: Vec<&'static str>
支持的特性列表
Trait Implementations§
Source§impl Clone for LibraryInfo
impl Clone for LibraryInfo
Source§fn clone(&self) -> LibraryInfo
fn clone(&self) -> LibraryInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LibraryInfo
impl RefUnwindSafe for LibraryInfo
impl Send for LibraryInfo
impl Sync for LibraryInfo
impl Unpin for LibraryInfo
impl UnwindSafe for LibraryInfo
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