[−][src]Enum misskey::TimelineRange
Range in the timeline.
Variants
Range in the timeline bounded by time.
Fields of DateTime
Range in the timeline bounded by note IDs.
Fields of Id
Unbounded range.
Implementations
impl<E> TimelineRange<E>
[src]
pub fn until(cursor: TimelineCursor<E>) -> TimelineRange<E>
[src]
Returns TimelineRange
for the range to a specified point on the timeline.
pub fn since(cursor: TimelineCursor<E>) -> TimelineRange<E>
[src]
Returns TimelineRange
for the range from a specified point on the timeline.
Trait Implementations
impl<E> Clone for TimelineRange<E>
[src]
pub fn clone(&self) -> TimelineRange<E>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<E> Copy for TimelineRange<E>
[src]
impl<E> Debug for TimelineRange<E>
[src]
impl<E> Eq for TimelineRange<E>
[src]
impl<'_, E> From<Range<&'_ E>> for TimelineRange<E> where
E: Entity,
[src]
E: Entity,
pub fn from(range: Range<&E>) -> TimelineRange<E>
[src]
impl<E> From<Range<DateTime<Utc>>> for TimelineRange<E> where
E: Entity,
[src]
E: Entity,
impl<E> From<Range<Id<E>>> for TimelineRange<E> where
E: Entity,
[src]
E: Entity,
pub fn from(range: Range<Id<E>>) -> TimelineRange<E>
[src]
impl<'_, E> From<RangeFrom<&'_ E>> for TimelineRange<E> where
E: Entity,
[src]
E: Entity,
pub fn from(range: RangeFrom<&E>) -> TimelineRange<E>
[src]
impl<E> From<RangeFrom<DateTime<Utc>>> for TimelineRange<E> where
E: Entity,
[src]
E: Entity,
impl<E> From<RangeFrom<Id<E>>> for TimelineRange<E> where
E: Entity,
[src]
E: Entity,
pub fn from(range: RangeFrom<Id<E>>) -> TimelineRange<E>
[src]
impl<E> From<RangeFull> for TimelineRange<E> where
E: Entity,
[src]
E: Entity,
pub fn from(RangeFull) -> TimelineRange<E>
[src]
impl<'_, E> From<RangeTo<&'_ E>> for TimelineRange<E> where
E: Entity,
[src]
E: Entity,
pub fn from(range: RangeTo<&E>) -> TimelineRange<E>
[src]
impl<E> From<RangeTo<DateTime<Utc>>> for TimelineRange<E> where
E: Entity,
[src]
E: Entity,
impl<E> From<RangeTo<Id<E>>> for TimelineRange<E> where
E: Entity,
[src]
E: Entity,
pub fn from(range: RangeTo<Id<E>>) -> TimelineRange<E>
[src]
impl<E> PartialEq<TimelineRange<E>> for TimelineRange<E>
[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for TimelineRange<E>
[src]
impl<E> Send for TimelineRange<E>
[src]
impl<E> Sync for TimelineRange<E>
[src]
impl<E> Unpin for TimelineRange<E>
[src]
impl<E> UnwindSafe for TimelineRange<E>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,