pub struct AttrTaintedRange {
start: usize,
end: usize,
}Expand description
For a CSS string, the range, counted in bytes, that is attr()-tainted.
Fields§
§start: usizeStart of the range, counted in bytes. Inclusive.
end: usizeEnd of the range, counted in bytes. Exclusive.
Implementations§
Trait Implementations§
Source§impl Clone for AttrTaintedRange
impl Clone for AttrTaintedRange
Source§fn clone(&self) -> AttrTaintedRange
fn clone(&self) -> AttrTaintedRange
Returns a duplicate 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 AttrTaintedRange
impl Debug for AttrTaintedRange
Source§impl Default for AttrTaintedRange
impl Default for AttrTaintedRange
Source§fn default() -> AttrTaintedRange
fn default() -> AttrTaintedRange
Returns the “default value” for a type. Read more
Source§impl MallocSizeOf for AttrTaintedRange
impl MallocSizeOf for AttrTaintedRange
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl PartialEq for AttrTaintedRange
impl PartialEq for AttrTaintedRange
Source§impl ToComputedValue for AttrTaintedRange
impl ToComputedValue for AttrTaintedRange
Source§type ComputedValue = AttrTaintedRange
type ComputedValue = AttrTaintedRange
The computed value type we’re going to be converted to.
Source§fn from_computed_value(from: &Self::ComputedValue) -> Self
fn from_computed_value(from: &Self::ComputedValue) -> Self
Convert a computed value to specified value form. Read more
Source§fn to_computed_value(&self, context: &Context<'_>) -> Self::ComputedValue
fn to_computed_value(&self, context: &Context<'_>) -> Self::ComputedValue
Convert a specified value to a computed value, using itself and the data
inside the
Context.Source§impl ToShmem for AttrTaintedRange
impl ToShmem for AttrTaintedRange
impl StructuralPartialEq for AttrTaintedRange
Auto Trait Implementations§
impl Freeze for AttrTaintedRange
impl RefUnwindSafe for AttrTaintedRange
impl Send for AttrTaintedRange
impl Sync for AttrTaintedRange
impl Unpin for AttrTaintedRange
impl UnsafeUnpin for AttrTaintedRange
impl UnwindSafe for AttrTaintedRange
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§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 moreSource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
Source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
Source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert