[][src]Module neon::prelude

A convenience module that re-exports the most commonly-used Neon APIs.

Re-exports

pub use handle::Handle;
pub use types::Value;
pub use types::JsValue;
pub use types::JsUndefined;
pub use types::JsNull;
pub use types::JsBoolean;
pub use types::JsString;
pub use types::JsNumber;
pub use types::JsObject;
pub use types::JsArray;
pub use types::JsFunction;
pub use object::Object;
pub use borrow::Borrow;
pub use borrow::BorrowMut;
pub use context::CallKind;
pub use context::Context;
pub use context::ModuleContext;
pub use context::ExecuteContext;
pub use context::ComputeContext;
pub use context::CallContext;
pub use context::FunctionContext;
pub use context::MethodContext;
pub use context::TaskContext;
pub use result::NeonResult;
pub use result::JsResult;
pub use result::JsResultExt;
pub use task::Task;

Structs

BinaryData

A reference to the internal backing buffer data of a Buffer or ArrayBuffer object, which can be accessed via the Borrow and BorrowMut traits.

JsArrayBuffer

The standard JS ArrayBuffer type.

JsBuffer

The Node Buffer type.

JsError

A JS Error object.

Traits

Class

The trait implemented by Neon classes.