#[repr(C)]
pub struct PySequenceMethods { pub sq_length: Option<lenfunc>, pub sq_concat: Option<binaryfunc>, pub sq_repeat: Option<ssizeargfunc>, pub sq_item: Option<ssizeargfunc>, pub was_sq_slice: *mut c_void, pub sq_ass_item: Option<ssizeobjargproc>, pub was_sq_ass_slice: *mut c_void, pub sq_contains: Option<objobjproc>, pub sq_inplace_concat: Option<binaryfunc>, pub sq_inplace_repeat: Option<ssizeargfunc>, }

Fields

sq_length: Option<lenfunc>sq_concat: Option<binaryfunc>sq_repeat: Option<ssizeargfunc>sq_item: Option<ssizeargfunc>was_sq_slice: *mut c_voidsq_ass_item: Option<ssizeobjargproc>was_sq_ass_slice: *mut c_voidsq_contains: Option<objobjproc>sq_inplace_concat: Option<binaryfunc>sq_inplace_repeat: Option<ssizeargfunc>

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a 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.