clepsydre-rebind 0.1.0

Safe bindings for libclepsydre
#![cfg_attr(docsrs, feature(doc_cfg))]
// #![warn(clippy::undocumented_unsafe_blocks)]
// #![warn(clippy::unimplemented)]
// #![warn(clippy::todo)]

pub use auto::*;
#[allow(clippy::single_component_path_imports)]
use ffi;
#[allow(warnings)]
mod auto;
mod calendar;
pub mod calendar_creation;
mod collection;
mod event;
pub mod prelude;
pub mod subclass;

pub use self::{calendar::CalendarExtManual, calendar_creation::*, event::EventExtManual};

// TODO: Do manual getters for non-nullable Object properties

/// Type alias for clepsydre Result
pub type Result<T> = std::result::Result<T, glib::Error>;

/// Type alias for pinned boxed futures that output `T`.
pub type PinnedFuture<T> = std::pin::Pin<Box<dyn Future<Output = T>>>;

/// Type alias for pinned boxed futures that output `Result<T, glib::Error>`.
pub type PinnedFutureResult<T> = PinnedFuture<Result<T>>;