Enum react_html::ReferrerPolicy
source · [−]pub enum ReferrerPolicy {
None,
NoReferrer,
NoReferrerWhenDowngrade,
Origin,
OriginWhenCrossOrigin,
SameOrigin,
StrictOrigin,
StrictOriginWhenCrossOrigin,
UnsafeUrl,
}
Variants
None
NoReferrer
NoReferrerWhenDowngrade
Origin
OriginWhenCrossOrigin
SameOrigin
StrictOrigin
StrictOriginWhenCrossOrigin
UnsafeUrl
Trait Implementations
sourceimpl Clone for ReferrerPolicy
impl Clone for ReferrerPolicy
sourcefn clone(&self) -> ReferrerPolicy
fn clone(&self) -> ReferrerPolicy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReferrerPolicy
impl Debug for ReferrerPolicy
sourceimpl ToJs for ReferrerPolicy
impl ToJs for ReferrerPolicy
impl Copy for ReferrerPolicy
Auto Trait Implementations
impl RefUnwindSafe for ReferrerPolicy
impl Send for ReferrerPolicy
impl Sync for ReferrerPolicy
impl Unpin for ReferrerPolicy
impl UnwindSafe for ReferrerPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> IntoBoxed<T> for T
impl<T> IntoBoxed<T> for T
fn into_boxed(self) -> Box<T, Global>ⓘNotable traits for Box<W, Global>impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl<T> IntoOptionalRc<T> for T
impl<T> IntoOptionalRc<T> for T
fn into_optional_rc(self) -> Option<Rc<T>>
sourceimpl<R> IntoPropValue<Option<R>> for R
impl<R> IntoPropValue<Option<R>> for R
fn into_prop_value(self) -> Option<R>
sourceimpl<R> IntoPropValue<R> for R
impl<R> IntoPropValue<R> for R
fn into_prop_value(self) -> R
sourceimpl<T> IntoRefValue<Box<T, Global>> for T
impl<T> IntoRefValue<Box<T, Global>> for T
fn into_ref_value(self) -> Box<T, Global>ⓘNotable traits for Box<W, Global>impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl<T> IntoRefValue<Rc<T>> for T
impl<T> IntoRefValue<Rc<T>> for T
fn into_ref_value(self) -> Rc<T>
sourceimpl<T> IntoRefValue<T> for T
impl<T> IntoRefValue<T> for T
fn into_ref_value(self) -> T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more