[][src]Struct oceanpkg::drop::license::expr::Or

pub struct Or(_);

A set of licenses separated by OR. For projects that are dual/n-ary licensed.

See Expr::Or.

Instances of this type always have two or more.

Methods

impl Or[src]

pub fn as_slice(&self) -> &[License][src]

Returns the underlying slice of licenses.

Trait Implementations

impl Clone for Or[src]

impl Debug for Or[src]

impl Display for Or[src]

impl Eq for Or[src]

impl From<Or> for Expr[src]

impl Hash for Or[src]

impl PartialEq<Or> for Or[src]

impl StructuralEq for Or[src]

impl StructuralPartialEq for Or[src]

Auto Trait Implementations

impl RefUnwindSafe for Or

impl Send for Or

impl Sync for Or

impl Unpin for Or

impl UnwindSafe for Or

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.