pub struct Chapter {
    pub element_id: String,
    pub start_time: u32,
    pub end_time: u32,
    pub start_offset: u32,
    pub end_offset: u32,
    pub frames: Vec<Frame>,
}

Fields

element_id: Stringstart_time: u32end_time: u32start_offset: u32end_offset: u32frames: Vec<Frame>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Extends a collection with the contents of an iterator. Read more

🔬 This is a nightly-only experimental API. (extend_one)

Extends a collection with exactly one element.

🔬 This is a nightly-only experimental API. (extend_one)

Reserves capacity in a collection for the given number of additional elements. Read more

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

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

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Returns a reference to the first frame with the specified identifier. Read more

Adds the frame to the tag, replacing and returning any conflicting frame. Read more

Adds a text frame. Read more

Panics Read more

Remove all frames with the specified identifier and return them. Read more

Returns the year (TYER). Returns None if the year frame could not be found or if it could not be parsed. Read more

Sets the year (TYER). Read more

Removes the year (TYER). Read more

Return the content of the TRDC frame, if any Read more

Sets the content of the TDRC frame Read more

Remove the content of the TDRC frame Read more

Return the content of the TDRL frame, if any Read more

Sets the content of the TDRL frame Read more

Remove the content of the TDRL frame Read more

Returns the artist (TPE1). Read more

Sets the artist (TPE1). Read more

Removes the artist (TPE1). Read more

Sets the album artist (TPE2). Read more

Sets the album artist (TPE2). Read more

Removes the album artist (TPE2). Read more

Returns the album (TALB). Read more

Sets the album (TALB). Read more

Removes the album (TALB). Read more

Returns the title (TIT2). Read more

Sets the title (TIT2). Read more

Removes the title (TIT2). Read more

Returns the duration (TLEN). Read more

Sets the duration (TLEN). Read more

Removes the duration (TLEN). Read more

Returns the genre (TCON). Read more

Sets the genre (TCON). Read more

Removes the genre (TCON). Read more

Returns the disc number (TPOS). Read more

Sets the disc (TPOS). Read more

Removes the disc number (TPOS). Read more

Returns the total number of discs (TPOS). Read more

Sets the total number of discs (TPOS). Read more

Removes the total number of discs (TPOS). Read more

Returns the track number (TRCK). Read more

Sets the track (TRCK). Read more

Removes the track number (TRCK). Read more

Returns the total number of tracks (TRCK). Read more

Sets the total number of tracks (TRCK). Read more

Removes the total number of tracks (TCON). Read more

👎 Deprecated:

Use add_frame(frame::ExtendedText{ .. })

Adds a user defined text frame (TXXX). Read more

Removes the user defined text frame (TXXX) with the specified key and value. Read more

👎 Deprecated:

Use add_frame(frame::Picture{ .. })

Adds a picture frame (APIC). Any other pictures with the same type will be removed from the tag. Read more

Removes all pictures of the specified type. Read more

Removes all pictures. Read more

👎 Deprecated:

Use add_frame(frame::Comment{ .. })

Adds a comment (COMM). Read more

Removes the comment (COMM) with the specified key and value. Read more

👎 Deprecated:

Use add_frame(frame::EncapsulatedObject{ .. })

Adds an encapsulated object frame (GEOB). Read more

Removes the encapsulated object frame (GEOB) with the specified key, MIME type, filename and data. Read more

👎 Deprecated:

Use add_frame(frame::Lyrics{ .. })

Sets the lyrics (USLT). Read more

Removes the lyrics text (USLT) from the tag. Read more

👎 Deprecated:

Use add_frame(frame::SynchronisedLyrics{ .. })

Adds a synchronised lyrics frame (SYLT). Read more

Removes all synchronised lyrics (SYLT) frames from the tag. Read more

Adds a single chapter (CHAP) to the farme. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.