Skip to main content

bitmap/
lib.rs

1// Copyright 2026 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#![no_std]
6
7use zr as _;
8
9pub mod bitmap;
10pub mod raw_bitmap;
11pub mod rle_bitmap;
12pub mod storage;
13
14pub use bitmap::{Bitmap, GetResult};
15pub use raw_bitmap::RawBitmapGeneric;
16pub use rle_bitmap::{Element, FreeList, RleBitmap, RleBitmapBase, RleBitmapElement};
17pub use storage::{DefaultStorage, FixedStorage, Storage};
18
19#[cfg(all(not(is_kernel), target_os = "fuchsia"))]
20pub use storage::VmoStorage;
21
22#[cfg(test)]
23mod tests;