pub struct LeanStringEvent {
pub value: String,
}Expand description
String payload delivered by Lean and copied before user code runs.
Fields§
§value: StringOwned UTF-8 string copied from Lean before invoking the callback.
Trait Implementations§
Source§impl Clone for LeanStringEvent
impl Clone for LeanStringEvent
Source§fn clone(&self) -> LeanStringEvent
fn clone(&self) -> LeanStringEvent
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 LeanStringEvent
impl Debug for LeanStringEvent
Source§impl PartialEq for LeanStringEvent
impl PartialEq for LeanStringEvent
Source§fn eq(&self, other: &LeanStringEvent) -> bool
fn eq(&self, other: &LeanStringEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanStringEvent
impl LeanCallbackPayload for LeanStringEvent
impl StructuralPartialEq for LeanStringEvent
Auto Trait Implementations§
impl Freeze for LeanStringEvent
impl RefUnwindSafe for LeanStringEvent
impl Send for LeanStringEvent
impl Sync for LeanStringEvent
impl Unpin for LeanStringEvent
impl UnsafeUnpin for LeanStringEvent
impl UnwindSafe for LeanStringEvent
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