pub enum ReviewCommentAnchorSide {
File,
New,
Old,
}Expand description
Diff side used to anchor one inline review-thread comment.
Variants§
File
A file-level thread that is not attached to a specific diff line.
New
A thread anchored to the new/right side of the diff.
Old
A thread anchored to the old/left side of the diff.
Trait Implementations§
Source§impl Clone for ReviewCommentAnchorSide
impl Clone for ReviewCommentAnchorSide
Source§fn clone(&self) -> ReviewCommentAnchorSide
fn clone(&self) -> ReviewCommentAnchorSide
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 ReviewCommentAnchorSide
impl Debug for ReviewCommentAnchorSide
Source§impl Hash for ReviewCommentAnchorSide
impl Hash for ReviewCommentAnchorSide
Source§impl PartialEq for ReviewCommentAnchorSide
impl PartialEq for ReviewCommentAnchorSide
Source§fn eq(&self, other: &ReviewCommentAnchorSide) -> bool
fn eq(&self, other: &ReviewCommentAnchorSide) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ReviewCommentAnchorSide
impl Eq for ReviewCommentAnchorSide
impl StructuralPartialEq for ReviewCommentAnchorSide
Auto Trait Implementations§
impl Freeze for ReviewCommentAnchorSide
impl RefUnwindSafe for ReviewCommentAnchorSide
impl Send for ReviewCommentAnchorSide
impl Sync for ReviewCommentAnchorSide
impl Unpin for ReviewCommentAnchorSide
impl UnsafeUnpin for ReviewCommentAnchorSide
impl UnwindSafe for ReviewCommentAnchorSide
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