pub struct RlmHistoryProjection { /* private fields */ }Implementations§
Source§impl RlmHistoryProjection
impl RlmHistoryProjection
pub fn from_chronological(projection: &ChronologicalProjection) -> Self
pub fn history(&self) -> &[RlmHistoryItem]
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn item(&self, index: usize) -> Option<RlmHistoryItem>
pub fn value(&self) -> Value
Trait Implementations§
Source§impl Clone for RlmHistoryProjection
impl Clone for RlmHistoryProjection
Source§fn clone(&self) -> RlmHistoryProjection
fn clone(&self) -> RlmHistoryProjection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RlmHistoryProjection
impl RefUnwindSafe for RlmHistoryProjection
impl Send for RlmHistoryProjection
impl Sync for RlmHistoryProjection
impl Unpin for RlmHistoryProjection
impl UnsafeUnpin for RlmHistoryProjection
impl UnwindSafe for RlmHistoryProjection
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