pub struct FunctionPurity;Implementations§
Source§impl FunctionPurity
impl FunctionPurity
pub fn has_mut_param(sig: &Signature) -> bool
pub fn is_unit_return(sig: &Signature) -> bool
pub fn has_unsafe_block(block: &Block) -> bool
pub fn has_io_call(block: &Block) -> bool
Auto Trait Implementations§
impl Freeze for FunctionPurity
impl RefUnwindSafe for FunctionPurity
impl Send for FunctionPurity
impl Sync for FunctionPurity
impl Unpin for FunctionPurity
impl UnsafeUnpin for FunctionPurity
impl UnwindSafe for FunctionPurity
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