pub enum Restrict {
Show 26 variants
Ebuild(Str),
Description(Str),
Slot(Str),
Subslot(Str),
RawSubslot(Option<Str>),
Depend(Option<DepSetRestrict<AtomRestrict>>),
Bdepend(Option<DepSetRestrict<AtomRestrict>>),
Idepend(Option<DepSetRestrict<AtomRestrict>>),
Pdepend(Option<DepSetRestrict<AtomRestrict>>),
Rdepend(Option<DepSetRestrict<AtomRestrict>>),
License(Option<DepSetRestrict<Str>>),
Properties(Option<DepSetRestrict<Str>>),
RequiredUse(Option<DepSetRestrict<Str>>),
Restrict(Option<DepSetRestrict<Str>>),
SrcUri(Option<DepSetRestrict<Str>>),
Homepage(Option<IndexSetRestrict<String, Str>>),
DefinedPhases(Option<SetRestrict<HashSet<String>, String>>),
Keywords(Option<IndexSetRestrict<String, Str>>),
Iuse(Option<IndexSetRestrict<String, Str>>),
Inherit(Option<IndexSetRestrict<String, Str>>),
Inherited(Option<IndexSetRestrict<String, Str>>),
LongDescription(Option<Str>),
Maintainers(Option<OrderedRestrict<MaintainerRestrict>>),
Upstreams(Option<OrderedRestrict<UpstreamRestrict>>),
And(Vec<Box<Self>>),
Or(Vec<Box<Self>>),
}Variants
Ebuild(Str)
Description(Str)
Slot(Str)
Subslot(Str)
RawSubslot(Option<Str>)
Depend(Option<DepSetRestrict<AtomRestrict>>)
Bdepend(Option<DepSetRestrict<AtomRestrict>>)
Idepend(Option<DepSetRestrict<AtomRestrict>>)
Pdepend(Option<DepSetRestrict<AtomRestrict>>)
Rdepend(Option<DepSetRestrict<AtomRestrict>>)
License(Option<DepSetRestrict<Str>>)
Properties(Option<DepSetRestrict<Str>>)
RequiredUse(Option<DepSetRestrict<Str>>)
Restrict(Option<DepSetRestrict<Str>>)
SrcUri(Option<DepSetRestrict<Str>>)
Homepage(Option<IndexSetRestrict<String, Str>>)
DefinedPhases(Option<SetRestrict<HashSet<String>, String>>)
Keywords(Option<IndexSetRestrict<String, Str>>)
Iuse(Option<IndexSetRestrict<String, Str>>)
Inherit(Option<IndexSetRestrict<String, Str>>)
Inherited(Option<IndexSetRestrict<String, Str>>)
LongDescription(Option<Str>)
Maintainers(Option<OrderedRestrict<MaintainerRestrict>>)
Upstreams(Option<OrderedRestrict<UpstreamRestrict>>)
And(Vec<Box<Self>>)
Or(Vec<Box<Self>>)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Restrict
impl Send for Restrict
impl Sync for Restrict
impl Unpin for Restrict
impl UnwindSafe for Restrict
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more