Struct cbm::disk::Geometry[][src]

pub struct Geometry { /* fields omitted */ }

A Geometry specifies the track and sector layout of a disk image, and also whether it has an error table appended or not.

Methods

impl Geometry
[src]

Given a disk image file size, return the first matching geometry.

Return the total number of bytes used to represent a disk image in this geometry.

Return the offset of the error table, if one is present in this geometry.

Trait Implementations

impl Copy for Geometry
[src]

impl Clone for Geometry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Geometry

impl Sync for Geometry