[][src]Struct transmission_sys::tr_file

#[repr(C)]
pub struct tr_file { pub length: u64, pub name: *mut c_char, pub priority: i8, pub dnd: i8, pub is_renamed: i8, pub firstPiece: tr_piece_index_t, pub lastPiece: tr_piece_index_t, pub offset: u64, }

@brief a part of tr_info that represents a single file of the torrent's content

Fields

length: u64name: *mut c_charpriority: i8dnd: i8is_renamed: i8firstPiece: tr_piece_index_tlastPiece: tr_piece_index_toffset: u64

Trait Implementations

impl Copy for tr_file[src]

impl Clone for tr_file[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for tr_file[src]

Auto Trait Implementations

impl !Send for tr_file

impl !Sync for tr_file

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]