# Trait csflow::traits::MemoryClass

source ·

    pub trait MemoryClass {
        // Required methods
        fn ptr(&self) -> Address;
        fn new(ptr: Address) -> Self;
    }

Expand description

A trait that implements basic functions for a class represented by a single pointer

## Required Methods§

source

#### fn ptr(&self) -> Address

source

#### fn new(ptr: Address) -> Self

## Implementors§

source§

### impl MemoryClass for CBaseEntity

source§

### impl MemoryClass for CPlayerController

source§

### impl MemoryClass for CPlayerPawn