pub struct PyEllipsis(/* private fields */);
Expand description
Represents the Python Ellipsis
object.
Values of this type are accessed via PyO3’s smart pointers, e.g. as
Py<PyEllipsis>
or Bound<'py, PyEllipsis>
.
Implementations§
Source§impl PyEllipsis
impl PyEllipsis
Sourcepub fn get_bound(py: Python<'_>) -> Borrowed<'_, '_, PyEllipsis>
pub fn get_bound(py: Python<'_>) -> Borrowed<'_, '_, PyEllipsis>
Returns the Ellipsis
object.
Trait Implementations§
Source§impl AsPyPointer for PyEllipsis
impl AsPyPointer for PyEllipsis
Source§impl AsRef<PyAny> for PyEllipsis
impl AsRef<PyAny> for PyEllipsis
Source§impl Deref for PyEllipsis
impl Deref for PyEllipsis
Source§impl PyTypeInfo for PyEllipsis
impl PyTypeInfo for PyEllipsis
Source§fn type_object_raw(_py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(_py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
Source§fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
Checks if
object
is an instance of this type or a subclass of this type.impl DerefToPyAny for PyEllipsis
Auto Trait Implementations§
impl !Freeze for PyEllipsis
impl !RefUnwindSafe for PyEllipsis
impl !Send for PyEllipsis
impl !Sync for PyEllipsis
impl Unpin for PyEllipsis
impl UnwindSafe for PyEllipsis
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more