Module prelude

Module prelude 

Source
Expand description

Re-exports everything necessary for the register_plugin macro.

Re-exports§

pub use crate::fmx_ExternCallStruct;
pub use crate::fmx_ptrtype;
pub use crate::write_to_u16_buff;
pub use crate::AllowedVersions;
pub use crate::ApplicationVersion;
pub use crate::Compatibility;
pub use crate::Data;
pub use crate::ExternStringType;
pub use crate::ExternVersion;
pub use crate::FMError;
pub use crate::FMExternCallType;
pub use crate::FileMakerFunction;
pub use crate::IdleType;
pub use crate::Plugin;
pub use crate::PluginInternal;
pub use crate::QuadChar;
pub use crate::Registration;
pub use crate::ScriptControl;
pub use crate::Text;
pub use crate::ToText;

Macros§

lazy_static
register_plugin
Sets up the entry point for every FileMaker call into the plug-in. The function then dispatches the calls to the various trait functions you can implement. Impl Plugin for your plugin struct, and then call the macro on it.

Structs§

HashMap
A hash map implemented with quadratic probing and SIMD lookup.
RwLock
A reader-writer lock