pub struct Unclipped<T>(pub T);
Tuple Fields§
§0: T
Trait Implementations§
source§impl<T> AddAssign<Unclipped<T>> for Unclipped<T>where
T: AddAssign<T>,
impl<T> AddAssign<Unclipped<T>> for Unclipped<T>where T: AddAssign<T>,
source§fn add_assign(&mut self, rhs: Unclipped<T>)
fn add_assign(&mut self, rhs: Unclipped<T>)
Performs the
+=
operation. Read moresource§impl<'a, T> Dimension<'a, ChunkSummary> for Unclipped<T>where
T: Dimension<'a, ChunkSummary>,
impl<'a, T> Dimension<'a, ChunkSummary> for Unclipped<T>where T: Dimension<'a, ChunkSummary>,
fn add_summary(&mut self, summary: &'a ChunkSummary, _: &())
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
source§impl<T> Ord for Unclipped<T>where
T: Ord,
impl<T> Ord for Unclipped<T>where T: Ord,
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T> PartialEq<Unclipped<T>> for Unclipped<T>where
T: PartialEq<T>,
impl<T> PartialEq<Unclipped<T>> for Unclipped<T>where T: PartialEq<T>,
source§impl<T> PartialOrd<Unclipped<T>> for Unclipped<T>where
T: PartialOrd<T>,
impl<T> PartialOrd<Unclipped<T>> for Unclipped<T>where T: PartialOrd<T>,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<T> SubAssign<Unclipped<T>> for Unclipped<T>where
T: SubAssign<T>,
impl<T> SubAssign<Unclipped<T>> for Unclipped<T>where T: SubAssign<T>,
source§fn sub_assign(&mut self, rhs: Unclipped<T>)
fn sub_assign(&mut self, rhs: Unclipped<T>)
Performs the
-=
operation. Read moresource§impl<T> TextDimension for Unclipped<T>where
T: TextDimension,
impl<T> TextDimension for Unclipped<T>where T: TextDimension,
fn from_text_summary(summary: &TextSummary) -> Unclipped<T>
fn add_assign(&mut self, other: &Unclipped<T>)
source§impl ToOffset for Unclipped<PointUtf16>
impl ToOffset for Unclipped<PointUtf16>
fn to_offset(&self, snapshot: &BufferSnapshot) -> usize
source§impl ToPoint for Unclipped<PointUtf16>
impl ToPoint for Unclipped<PointUtf16>
fn to_point(&self, snapshot: &BufferSnapshot) -> Point
impl<T> Copy for Unclipped<T>where T: Copy,
impl<T> Eq for Unclipped<T>where T: Eq,
impl<T> StructuralEq for Unclipped<T>
impl<T> StructuralPartialEq for Unclipped<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Unclipped<T>where T: RefUnwindSafe,
impl<T> Send for Unclipped<T>where T: Send,
impl<T> Sync for Unclipped<T>where T: Sync,
impl<T> Unpin for Unclipped<T>where T: Unpin,
impl<T> UnwindSafe for Unclipped<T>where T: UnwindSafe,
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> FromFd for Twhere
T: From<OwnedFd>,
impl<T> FromFd for Twhere T: From<OwnedFd>,
§impl<T> FromFilelike for Twhere
T: From<OwnedFd>,
impl<T> FromFilelike for Twhere T: From<OwnedFd>,
§fn from_filelike(owned: OwnedFd) -> T
fn from_filelike(owned: OwnedFd) -> T
Constructs a new instance of
Self
from the given filelike object. Read more§fn from_into_filelike<Owned>(owned: Owned) -> Twhere
Owned: IntoFilelike,
fn from_into_filelike<Owned>(owned: Owned) -> Twhere Owned: IntoFilelike,
Constructs a new instance of
Self
from the given filelike object
converted from into_owned
. Read more§impl<T> FromSocketlike for Twhere
T: From<OwnedFd>,
impl<T> FromSocketlike for Twhere T: From<OwnedFd>,
§fn from_socketlike(owned: OwnedFd) -> T
fn from_socketlike(owned: OwnedFd) -> T
Constructs a new instance of
Self
from the given socketlike object.§fn from_into_socketlike<Owned>(owned: Owned) -> Twhere
Owned: IntoSocketlike,
fn from_into_socketlike<Owned>(owned: Owned) -> Twhere Owned: IntoSocketlike,
Constructs a new instance of
Self
from the given socketlike object
converted from into_owned
.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> 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> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.