Struct tz::datetime::FoundDateTimeListRefMut
source · pub struct FoundDateTimeListRefMut<'a> { /* private fields */ }
Expand description
Wrapper reference type with methods for extracting the found date times, created by the DateTime::find_n
method
Implementations§
source§impl<'a> FoundDateTimeListRefMut<'a>
impl<'a> FoundDateTimeListRefMut<'a>
sourcepub fn new(buf: &'a mut [Option<FoundDateTimeKind>]) -> Self
pub fn new(buf: &'a mut [Option<FoundDateTimeKind>]) -> Self
Construct a new FoundDateTimeListRefMut
value
sourcepub fn data(&self) -> &[Option<FoundDateTimeKind>]
pub fn data(&self) -> &[Option<FoundDateTimeKind>]
Returns the subslice of written data
sourcepub fn is_exhaustive(&self) -> bool
pub fn is_exhaustive(&self) -> bool
Returns true
if all found date times have been written in the buffer
Trait Implementations§
source§impl<'a> Debug for FoundDateTimeListRefMut<'a>
impl<'a> Debug for FoundDateTimeListRefMut<'a>
source§impl<'a> PartialEq for FoundDateTimeListRefMut<'a>
impl<'a> PartialEq for FoundDateTimeListRefMut<'a>
source§fn eq(&self, other: &FoundDateTimeListRefMut<'a>) -> bool
fn eq(&self, other: &FoundDateTimeListRefMut<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> StructuralPartialEq for FoundDateTimeListRefMut<'a>
Auto Trait Implementations§
impl<'a> Freeze for FoundDateTimeListRefMut<'a>
impl<'a> RefUnwindSafe for FoundDateTimeListRefMut<'a>
impl<'a> Send for FoundDateTimeListRefMut<'a>
impl<'a> Sync for FoundDateTimeListRefMut<'a>
impl<'a> Unpin for FoundDateTimeListRefMut<'a>
impl<'a> !UnwindSafe for FoundDateTimeListRefMut<'a>
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