pub struct FunctionDiff {
pub signature_changed: bool,
pub body_changed: bool,
pub return_type_changed: bool,
}Expand description
Diff for a function
Fields§
§signature_changed: boolWhether the signature changed
body_changed: boolWhether the body changed
return_type_changed: boolWhether the return type changed
Trait Implementations§
Source§impl Clone for FunctionDiff
impl Clone for FunctionDiff
Source§fn clone(&self) -> FunctionDiff
fn clone(&self) -> FunctionDiff
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 FunctionDiff
impl Debug for FunctionDiff
Source§impl<'de> Deserialize<'de> for FunctionDiff
impl<'de> Deserialize<'de> for FunctionDiff
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FunctionDiff
Source§impl PartialEq for FunctionDiff
impl PartialEq for FunctionDiff
Source§fn eq(&self, other: &FunctionDiff) -> bool
fn eq(&self, other: &FunctionDiff) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FunctionDiff
impl Serialize for FunctionDiff
impl StructuralPartialEq for FunctionDiff
Auto Trait Implementations§
impl Freeze for FunctionDiff
impl RefUnwindSafe for FunctionDiff
impl Send for FunctionDiff
impl Sync for FunctionDiff
impl Unpin for FunctionDiff
impl UnsafeUnpin for FunctionDiff
impl UnwindSafe for FunctionDiff
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