pub struct PdReturn { /* private fields */ }Implementations§
Source§impl PdReturn
impl PdReturn
pub fn new_not_handled() -> Self
pub fn new_unchanged() -> Self
pub fn new_changed() -> Self
pub fn new_with_response( handled: bool, changed: bool, response: ProcessData, ) -> Self
pub fn handled(&self) -> bool
pub fn changed(&self) -> bool
pub fn response(&self) -> Option<ProcessData>
Trait Implementations§
impl Copy for PdReturn
impl Eq for PdReturn
impl StructuralPartialEq for PdReturn
Auto Trait Implementations§
impl Freeze for PdReturn
impl RefUnwindSafe for PdReturn
impl Send for PdReturn
impl Sync for PdReturn
impl Unpin for PdReturn
impl UnsafeUnpin for PdReturn
impl UnwindSafe for PdReturn
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