Struct yazi_plugin::OptData
source · pub struct OptData {
pub args: Vec<ValueSendable>,
pub cb: Option<Box<dyn FnOnce(Table<'_>) -> Result<Value<'_>> + Send>>,
pub tx: Option<Sender<ValueSendable>>,
}Fields§
§args: Vec<ValueSendable>§cb: Option<Box<dyn FnOnce(Table<'_>) -> Result<Value<'_>> + Send>>§tx: Option<Sender<ValueSendable>>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OptData
impl Send for OptData
impl !Sync for OptData
impl Unpin for OptData
impl !UnwindSafe for OptData
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().