from_repr
This commit is contained in:
13
src/lib.rs
13
src/lib.rs
@@ -32,9 +32,6 @@ pub mod win32;
|
||||
#[cfg(feature = "win32")]
|
||||
pub use win32::{ image_base, image_header, find_kernel32, process_executable };
|
||||
|
||||
/// re-export the signature macro
|
||||
pub use xgen::signature;
|
||||
|
||||
mod time;
|
||||
pub use time::dur;
|
||||
|
||||
@@ -45,4 +42,12 @@ mod strings;
|
||||
pub use strings::*;
|
||||
|
||||
mod iter_tools;
|
||||
pub use iter_tools::*;
|
||||
pub use iter_tools::*;
|
||||
|
||||
/// re-export the signature macro
|
||||
pub use xgen::signature;
|
||||
pub use xgen::FromRepr;
|
||||
pub trait FromRepr: Sized {
|
||||
type Repr;
|
||||
fn from_repr(repr: Self::Repr) -> Option<Self>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user