pub struct LibraryPrefixSet { /* private fields */ }Implementations§
Source§impl LibraryPrefixSet
impl LibraryPrefixSet
pub const fn new(prefixes: &'static [&'static str]) -> Self
pub fn matches(self, metadata: &PistonMetaData) -> bool
pub fn version(self, metadata: &PistonMetaData) -> Option<String>
pub fn installed_driver( self, metadata: &PistonMetaData, descriptor: DriverDescriptor, ) -> Option<InstalledDriver>
Trait Implementations§
Source§impl Clone for LibraryPrefixSet
impl Clone for LibraryPrefixSet
impl Copy for LibraryPrefixSet
Source§impl Debug for LibraryPrefixSet
impl Debug for LibraryPrefixSet
impl Eq for LibraryPrefixSet
Source§impl PartialEq for LibraryPrefixSet
impl PartialEq for LibraryPrefixSet
impl StructuralPartialEq for LibraryPrefixSet
Auto Trait Implementations§
impl Forget for LibraryPrefixSet
impl Freeze for LibraryPrefixSet
impl Move for LibraryPrefixSet
impl RefUnwindSafe for LibraryPrefixSet
impl Send for LibraryPrefixSet
impl Sync for LibraryPrefixSet
impl Unpin for LibraryPrefixSet
impl UnsafeUnpin for LibraryPrefixSet
impl UnwindSafe for LibraryPrefixSet
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.