pub struct MaxContiguousTrue {
pub count: usize,
pub left: usize,
pub right: usize,
pub length: usize,
}
Expand description
連続するtrue
列の最大長を管理する。
Fields§
§count: usize
最大連続長
left: usize
左側最大連続長
right: usize
右側最大連続長
length: usize
区間長
Implementations§
Trait Implementations§
Source§impl BinaryOp for MaxContiguousTrue
impl BinaryOp for MaxContiguousTrue
Source§impl Clone for MaxContiguousTrue
impl Clone for MaxContiguousTrue
Source§fn clone(&self) -> MaxContiguousTrue
fn clone(&self) -> MaxContiguousTrue
Returns a copy 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 MaxContiguousTrue
impl Debug for MaxContiguousTrue
Source§impl Default for MaxContiguousTrue
impl Default for MaxContiguousTrue
Source§fn default() -> MaxContiguousTrue
fn default() -> MaxContiguousTrue
Returns the “default value” for a type. Read more
Source§impl PartialEq for MaxContiguousTrue
impl PartialEq for MaxContiguousTrue
impl Associative for MaxContiguousTrue
impl Copy for MaxContiguousTrue
impl Eq for MaxContiguousTrue
impl Set for MaxContiguousTrue
impl StructuralPartialEq for MaxContiguousTrue
Auto Trait Implementations§
impl Freeze for MaxContiguousTrue
impl RefUnwindSafe for MaxContiguousTrue
impl Send for MaxContiguousTrue
impl Sync for MaxContiguousTrue
impl Unpin for MaxContiguousTrue
impl UnwindSafe for MaxContiguousTrue
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