[][src]Struct pyrpds::set::Set

pub struct Set { /* fields omitted */ }

Implementations

impl Set[src]

#[must_use]pub fn new() -> Self[src]

impl Set[src]

pub fn add(&self, py_object: PyObject) -> PyResult<Self>[src]

pub fn discard(&self, py_object: PyObject) -> PyResult<Self>[src]

pub fn remove(&self, py_object: PyObject) -> PyResult<Self>[src]

pub fn isdisjoint(&self, other: &Set) -> PyResult<bool>[src]

pub fn update(&self, iterator: PyObject) -> PyResult<Self>[src]

Trait Implementations

impl Default for Set[src]

impl Display for Set[src]

impl<'a> ExtractExt<'a> for &'a Set[src]

type Target = PyRef<'a, Set>

impl<'a> ExtractExt<'a> for &'a mut Set[src]

type Target = PyRefMut<'a, Set>

impl Hash for Set[src]

impl IntoPy<PyObject> for Set[src]

impl PyClass for Set[src]

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it's PyDict. Read more

impl PyClassAlloc for Set[src]

impl<'p> PyIterIterProtocol<'p> for Set[src]

impl<'p> PyIterProtocol<'p> for Set[src]

impl PyMethodsInventoryDispatch for Set[src]

type InventoryType = SetGeneratedPyo3Inventory

This allows us to get the inventory type when only the pyclass is in scope

impl<'p> PyObjectHashProtocol<'p> for Set[src]

impl<'p> PyObjectProtocol<'p> for Set

impl<'p> PyObjectReprProtocol<'p> for Set[src]

impl<'p> PyObjectRichcmpProtocol<'p> for Set[src]

type Other = &'p PyAny

type Success = bool

type Result = PyResult<bool>

impl<'p> PySequenceContainsProtocol<'p> for Set[src]

impl<'p> PySequenceLenProtocol<'p> for Set[src]

impl<'p> PySequenceProtocol<'p> for Set[src]

impl PyTypeInfo for Set[src]

type Type = Set

Type of objects to store in PyObject struct

type BaseType = PyAny

Base class

type Layout = PyCell<Self>

Layout

type BaseLayout = PyCellBase<PyAny>

Layout of Basetype.

type Initializer = PyClassInitializer<Self>

Initializer for layout

type AsRefTarget = PyCell<Self>

Utility type to make AsPyRef work

Auto Trait Implementations

impl !RefUnwindSafe for Set

impl !Send for Set

impl !Sync for Set

impl Unpin for Set

impl UnwindSafe for Set

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> FromPy<T> for T[src]

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

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 
[src]

impl<T> PyClassAlloc for T where
    T: PyTypeInfo + PyClassWithFreeList
[src]

impl<T> PyMethodsProtocol for T where
    T: PyMethodsInventoryDispatch, 
[src]

impl<T> PyTypeObject for T where
    T: PyTypeInfo
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.