pub struct TestOnlyExport {
pub function: FunctionName,
pub arity: Arity,
pub export_line: usize,
pub body_line: Option<usize>,
pub variant: TestExportVariant,
}Fields§
§function: FunctionName§arity: Arity§export_line: usize1-based line of the -export directive.
body_line: Option<usize>1-based line where the function body starts. None for
Variant A (body unconditional), Some for Variant B (body
inside its own -ifdef(TEST) block, where the function
itself is absent from a non-TEST beam).
variant: TestExportVariantTrait Implementations§
Source§impl Clone for TestOnlyExport
impl Clone for TestOnlyExport
Source§impl Debug for TestOnlyExport
impl Debug for TestOnlyExport
Source§impl<'de> Deserialize<'de> for TestOnlyExport
impl<'de> Deserialize<'de> for TestOnlyExport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TestOnlyExport
Source§impl Hash for TestOnlyExport
impl Hash for TestOnlyExport
Source§impl PartialEq for TestOnlyExport
impl PartialEq for TestOnlyExport
Source§impl Serialize for TestOnlyExport
impl Serialize for TestOnlyExport
impl StructuralPartialEq for TestOnlyExport
Auto Trait Implementations§
impl Forget for TestOnlyExport
impl Freeze for TestOnlyExport
impl Move for TestOnlyExport
impl RefUnwindSafe for TestOnlyExport
impl Send for TestOnlyExport
impl Sync for TestOnlyExport
impl Unpin for TestOnlyExport
impl UnsafeUnpin for TestOnlyExport
impl UnwindSafe for TestOnlyExport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more