Enum editor2::scroll::autoscroll::AutoscrollStrategy
source · pub enum AutoscrollStrategy {
Fit,
Newest,
Center,
Top,
Bottom,
}
Variants§
Trait Implementations§
source§impl Default for AutoscrollStrategy
impl Default for AutoscrollStrategy
source§fn default() -> AutoscrollStrategy
fn default() -> AutoscrollStrategy
Returns the “default value” for a type. Read more
source§impl PartialEq<AutoscrollStrategy> for AutoscrollStrategy
impl PartialEq<AutoscrollStrategy> for AutoscrollStrategy
source§fn eq(&self, other: &AutoscrollStrategy) -> bool
fn eq(&self, other: &AutoscrollStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AutoscrollStrategy
impl StructuralEq for AutoscrollStrategy
impl StructuralPartialEq for AutoscrollStrategy
Auto Trait Implementations§
impl RefUnwindSafe for AutoscrollStrategy
impl Send for AutoscrollStrategy
impl Sync for AutoscrollStrategy
impl Unpin for AutoscrollStrategy
impl UnwindSafe for AutoscrollStrategy
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.source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.