Skip to content

Confusing constructor #16

@torkleyy

Description

@torkleyy

pub unsafe fn cast_from_usize(ptr: usize) -> Pulse {

I'm not sure how much sense this constructor makes, the usize had to be a pointer to a value in the heap, which has been allocated by Box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions