pub struct FallbackState {
pub last_checked_target_oid: Option<Oid>,
}Expand description
State for tracking fallback branch return attempts (in-memory only)
Fields§
§last_checked_target_oid: Option<Oid>The OID of the target branch when we last checked if return was possible Used to avoid redundant merge checks when target hasn’t moved
Trait Implementations§
Source§impl Clone for FallbackState
impl Clone for FallbackState
Source§fn clone(&self) -> FallbackState
fn clone(&self) -> FallbackState
Returns a duplicate 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 FallbackState
impl Debug for FallbackState
Source§impl Default for FallbackState
impl Default for FallbackState
Source§fn default() -> FallbackState
fn default() -> FallbackState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FallbackState
impl RefUnwindSafe for FallbackState
impl Send for FallbackState
impl Sync for FallbackState
impl Unpin for FallbackState
impl UnsafeUnpin for FallbackState
impl UnwindSafe for FallbackState
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