Struct yrs::YDeleteSet

source ·
#[repr(C)]
pub struct YDeleteSet { pub entries_count: c_int, pub client_ids: *mut c_longlong, pub ranges: *mut YIdRangeSeq, }
Expand description

Delete set is a map of (ClientID, Range[]) entries. Length of a map is stored in entries_count field. ClientIDs reside under client_ids and their corresponding range sequences can be found under the same index of ranges field.

Fields§

§entries_count: c_int

Number of client identifier entries.

§client_ids: *mut c_longlong

Array of unique client identifiers (length is given in entries_count field). Each client ID has corresponding sequence of ranges attached, which can be found in ranges field under the same index.

§ranges: *mut YIdRangeSeq

Array of range sequences (length is given in entries_count field). Each sequence has a corresponding client ID attached, which can be found in client_ids field under the same index.

Trait Implementations§

Executes the destructor for this type. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.