Struct ggez::filesystem::OpenOptions [] [src]

pub struct OpenOptions { /* fields omitted */ }

Options for opening files

We need our own version of this structure because the one in std annoyingly doesn't let you get data out of it.

Methods

impl OpenOptions
[src]

[src]

Create a new instance

[src]

Open for reading

[src]

Open for writing

[src]

Create the file if it does not exist yet

[src]

Append at the end of the file

[src]

Truncate the file to 0 bytes after opening

Trait Implementations

impl Debug for OpenOptions
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for OpenOptions
[src]

[src]

Returns the "default value" for a type. Read more

impl Copy for OpenOptions
[src]

impl Clone for OpenOptions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for OpenOptions
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for OpenOptions

impl Sync for OpenOptions