pub struct CallbackSpec {
pub c_field: &'static str,
pub java_method: &'static str,
pub doc: &'static str,
pub extra: &'static [ExtraParam],
pub has_is_header: bool,
}Fields§
§c_field: &'static strField name in HTMHtmVisitorCallbacks (snake_case). Used for documentation.
java_method: &'static strJava interface method name (camelCase).
doc: &'static strJavadoc line.
extra: &'static [ExtraParam]Extra parameters beyond NodeContext in the Java interface.
has_is_header: boolIf true, add boolean isHeader (only visit_table_row).
Auto Trait Implementations§
impl Freeze for CallbackSpec
impl RefUnwindSafe for CallbackSpec
impl Send for CallbackSpec
impl Sync for CallbackSpec
impl Unpin for CallbackSpec
impl UnsafeUnpin for CallbackSpec
impl UnwindSafe for CallbackSpec
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