Struct transmission_sys::tr_file
source · #[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,
}
Expand description
@brief a part of tr_info that represents a single file of the torrent’s content
Fields
length: u64
name: *mut c_char
priority: i8
dnd: i8
is_renamed: i8
firstPiece: tr_piece_index_t
lastPiece: tr_piece_index_t
offset: u64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for tr_file
impl !Send for tr_file
impl !Sync for tr_file
impl Unpin for tr_file
impl UnwindSafe for tr_file
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more