pub struct JS_FRAMEWORK_ALLOW { /* private fields */ }Expand description
allowed js frameworks and libs excluding some and adding additional URLs
Methods from Deref<Target = Set<&'static str>>§
sourcepub fn get_key<U>(&self, key: &U) -> Option<&T>
pub fn get_key<U>(&self, key: &U) -> Option<&T>
Returns a reference to the set’s internal static instance of the given key.
This can be useful for interning schemes.
sourcepub fn iter(&self) -> Iter<'_, T>
pub fn iter(&self) -> Iter<'_, T>
Returns an iterator over the values in the set.
Values are returned in an arbitrary but fixed order.
sourcepub fn is_disjoint(&self, other: &Set<T>) -> bool
pub fn is_disjoint(&self, other: &Set<T>) -> bool
Returns true if other shares no elements with self.
sourcepub fn is_subset(&self, other: &Set<T>) -> bool
pub fn is_subset(&self, other: &Set<T>) -> bool
Returns true if other contains all values in self.
sourcepub fn is_superset(&self, other: &Set<T>) -> bool
pub fn is_superset(&self, other: &Set<T>) -> bool
Returns true if self contains all values in other.
Trait Implementations§
source§impl Deref for JS_FRAMEWORK_ALLOW
impl Deref for JS_FRAMEWORK_ALLOW
impl LazyStatic for JS_FRAMEWORK_ALLOW
Auto Trait Implementations§
impl Freeze for JS_FRAMEWORK_ALLOW
impl RefUnwindSafe for JS_FRAMEWORK_ALLOW
impl Send for JS_FRAMEWORK_ALLOW
impl Sync for JS_FRAMEWORK_ALLOW
impl Unpin for JS_FRAMEWORK_ALLOW
impl UnwindSafe for JS_FRAMEWORK_ALLOW
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more