pub struct TokenContext {
pub origin: PathBuf,
pub lib: String,
pub platform: Option<String>,
}Fields§
§origin: PathBufDirectory of the object that owns the search path, as a logical path.
lib: StringValue of $LIB (lib or lib64).
platform: Option<String>Value of $PLATFORM (x86_64, aarch64, …).
Trait Implementations§
Source§impl Clone for TokenContext
impl Clone for TokenContext
Source§fn clone(&self) -> TokenContext
fn clone(&self) -> TokenContext
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 moreAuto Trait Implementations§
impl Freeze for TokenContext
impl RefUnwindSafe for TokenContext
impl Send for TokenContext
impl Sync for TokenContext
impl Unpin for TokenContext
impl UnsafeUnpin for TokenContext
impl UnwindSafe for TokenContext
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