pub struct Adjustment {
pub new_size: usize,
pub direction: AdjustDirection,
pub reason: AdjustReason,
}Expand description
A size change the controller decided on.
Fields§
§new_size: usize§direction: AdjustDirection§reason: AdjustReasonTrait Implementations§
Source§impl Clone for Adjustment
impl Clone for Adjustment
Source§fn clone(&self) -> Adjustment
fn clone(&self) -> Adjustment
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 moreSource§impl Debug for Adjustment
impl Debug for Adjustment
impl Copy for Adjustment
Auto Trait Implementations§
impl Freeze for Adjustment
impl RefUnwindSafe for Adjustment
impl Send for Adjustment
impl Sync for Adjustment
impl Unpin for Adjustment
impl UnsafeUnpin for Adjustment
impl UnwindSafe for Adjustment
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