Struct libgir::analysis::imports::ImportConditions
source · pub struct ImportConditions {
pub version: Option<Version>,
pub constraints: Vec<String>,
}
Fields§
§version: Option<Version>
§constraints: Vec<String>
Trait Implementations§
source§impl Clone for ImportConditions
impl Clone for ImportConditions
source§fn clone(&self) -> ImportConditions
fn clone(&self) -> ImportConditions
Returns a copy 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 moresource§impl Debug for ImportConditions
impl Debug for ImportConditions
source§impl Default for ImportConditions
impl Default for ImportConditions
source§fn default() -> ImportConditions
fn default() -> ImportConditions
Returns the “default value” for a type. Read more
source§impl Ord for ImportConditions
impl Ord for ImportConditions
source§fn cmp(&self, other: &ImportConditions) -> Ordering
fn cmp(&self, other: &ImportConditions) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ImportConditions
impl PartialEq for ImportConditions
source§impl PartialOrd for ImportConditions
impl PartialOrd for ImportConditions
impl Eq for ImportConditions
impl StructuralPartialEq for ImportConditions
Auto Trait Implementations§
impl Freeze for ImportConditions
impl RefUnwindSafe for ImportConditions
impl Send for ImportConditions
impl Sync for ImportConditions
impl Unpin for ImportConditions
impl UnwindSafe for ImportConditions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.