Struct librsnek::api::rtobject::RtObject
[−]
[src]
pub struct RtObject(StrongRc<Type>);
The wrapper and interface around any rust native structure
Methods
impl RtObject[src]
fn new(value: Type) -> RtObject
fn downgrade(&self) -> WeakRtObject
Downgrade the RtObject to a WeakRtObject
fn strong_count(&self) -> Integer
fn weak_count(&self) -> Integer
fn id(&self) -> ObjectId
fn debug_name(&self) -> &str
fn to_string(&self) -> String
Trait Implementations
impl Serialize for RtObject[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
S: Serializer,
Serialize this value into the given Serde serializer.
impl PartialEq for RtObject[src]
fn eq(&self, rhs: &RtObject) -> bool
This method tests for self and other values to be equal, and is used
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for RtObject[src]
fn assert_receiver_is_total_eq(&self)1.0.0
impl Clone for RtObject[src]
fn clone(&self) -> Self
Returns a copy of the value.
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source.
impl Hash for RtObject[src]
fn hash<H: Hasher>(&self, s: &mut H)
Feeds this value into the given [Hasher].
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher].
impl Display for RtObject[src]
impl Debug for RtObject[src]
impl AsRef<Type> for RtObject[src]
impl Iterator for RtObject[src]
While it is cool to be able to directly iterate over an RtObject
type Item = RtObject
The type of the elements being iterated over.
fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value.
fn size_hint(&self) -> (usize, Option<usize>)1.0.0
Returns the bounds on the remaining length of the iterator.
fn count(self) -> usize1.0.0
Consumes the iterator, counting the number of iterations and returning it.
fn last(self) -> Option<Self::Item>1.0.0
Consumes the iterator, returning the last element.
fn nth(&mut self, n: usize) -> Option<Self::Item>1.0.0
Returns the nth element of the iterator.
fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter> where
U: IntoIterator<Item = Self::Item>, 1.0.0
U: IntoIterator<Item = Self::Item>,
Takes two iterators and creates a new iterator over both in sequence.
fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter> where
U: IntoIterator, 1.0.0
U: IntoIterator,
'Zips up' two iterators into a single iterator of pairs.
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> B, 1.0.0
F: FnMut(Self::Item) -> B,
Takes a closure and creates an iterator which calls that closure on each
fn filter<P>(self, predicate: P) -> Filter<Self, P> where
P: FnMut(&Self::Item) -> bool, 1.0.0
P: FnMut(&Self::Item) -> bool,
Creates an iterator which uses a closure to determine if an element
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
F: FnMut(Self::Item) -> Option<B>, 1.0.0
F: FnMut(Self::Item) -> Option<B>,
Creates an iterator that both filters and maps.
fn enumerate(self) -> Enumerate<Self>1.0.0
Creates an iterator which gives the current iteration count as well as
fn peekable(self) -> Peekable<Self>1.0.0
Creates an iterator which can use peek to look at the next element of
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
P: FnMut(&Self::Item) -> bool, 1.0.0
P: FnMut(&Self::Item) -> bool,
Creates an iterator that [skip]s elements based on a predicate.
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
P: FnMut(&Self::Item) -> bool, 1.0.0
P: FnMut(&Self::Item) -> bool,
Creates an iterator that yields elements based on a predicate.
fn skip(self, n: usize) -> Skip<Self>1.0.0
Creates an iterator that skips the first n elements.
fn take(self, n: usize) -> Take<Self>1.0.0
Creates an iterator that yields its first n elements.
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
F: FnMut(&mut St, Self::Item) -> Option<B>, 1.0.0
F: FnMut(&mut St, Self::Item) -> Option<B>,
An iterator adaptor similar to [fold] that holds internal state and
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
F: FnMut(Self::Item) -> U,
U: IntoIterator, 1.0.0
F: FnMut(Self::Item) -> U,
U: IntoIterator,
Creates an iterator that works like map, but flattens nested structure.
fn fuse(self) -> Fuse<Self>1.0.0
Creates an iterator which ends after the first [None].
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) -> (), 1.0.0
F: FnMut(&Self::Item) -> (),
Do something with each element of an iterator, passing the value on.
fn by_ref(&mut self) -> &mut Self1.0.0
Borrows an iterator, rather than consuming it.
fn collect<B>(self) -> B where
B: FromIterator<Self::Item>, 1.0.0
B: FromIterator<Self::Item>,
Transforms an iterator into a collection.
fn partition<B, F>(self, f: F) -> (B, B) where
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> bool, 1.0.0
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> bool,
Consumes an iterator, creating two collections from it.
fn fold<B, F>(self, init: B, f: F) -> B where
F: FnMut(B, Self::Item) -> B, 1.0.0
F: FnMut(B, Self::Item) -> B,
An iterator adaptor that applies a function, producing a single, final value.
fn all<F>(&mut self, f: F) -> bool where
F: FnMut(Self::Item) -> bool, 1.0.0
F: FnMut(Self::Item) -> bool,
Tests if every element of the iterator matches a predicate.
fn any<F>(&mut self, f: F) -> bool where
F: FnMut(Self::Item) -> bool, 1.0.0
F: FnMut(Self::Item) -> bool,
Tests if any element of the iterator matches a predicate.
fn find<P>(&mut self, predicate: P) -> Option<Self::Item> where
P: FnMut(&Self::Item) -> bool, 1.0.0
P: FnMut(&Self::Item) -> bool,
Searches for an element of an iterator that satisfies a predicate.
fn position<P>(&mut self, predicate: P) -> Option<usize> where
P: FnMut(Self::Item) -> bool, 1.0.0
P: FnMut(Self::Item) -> bool,
Searches for an element in an iterator, returning its index.
fn rposition<P>(&mut self, predicate: P) -> Option<usize> where
P: FnMut(Self::Item) -> bool,
Self: ExactSizeIterator + DoubleEndedIterator, 1.0.0
P: FnMut(Self::Item) -> bool,
Self: ExactSizeIterator + DoubleEndedIterator,
Searches for an element in an iterator from the right, returning its
fn max(self) -> Option<Self::Item> where
Self::Item: Ord, 1.0.0
Self::Item: Ord,
Returns the maximum element of an iterator.
fn min(self) -> Option<Self::Item> where
Self::Item: Ord, 1.0.0
Self::Item: Ord,
Returns the minimum element of an iterator.
fn max_by_key<B, F>(self, f: F) -> Option<Self::Item> where
B: Ord,
F: FnMut(&Self::Item) -> B, 1.6.0
B: Ord,
F: FnMut(&Self::Item) -> B,
Returns the element that gives the maximum value from the
fn max_by<F>(self, compare: F) -> Option<Self::Item> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering, 1.15.0
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
Returns the element that gives the maximum value with respect to the
fn min_by_key<B, F>(self, f: F) -> Option<Self::Item> where
B: Ord,
F: FnMut(&Self::Item) -> B, 1.6.0
B: Ord,
F: FnMut(&Self::Item) -> B,
Returns the element that gives the minimum value from the
fn min_by<F>(self, compare: F) -> Option<Self::Item> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering, 1.15.0
F: FnMut(&Self::Item, &Self::Item) -> Ordering,
Returns the element that gives the minimum value with respect to the
fn rev(self) -> Rev<Self> where
Self: DoubleEndedIterator, 1.0.0
Self: DoubleEndedIterator,
Reverses an iterator's direction.
fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB) where
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
Self: Iterator<Item = (A, B)>, 1.0.0
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
Self: Iterator<Item = (A, B)>,
Converts an iterator of pairs into a pair of containers.
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: Iterator<Item = &'a T>,
T: 'a + Clone, 1.0.0
Self: Iterator<Item = &'a T>,
T: 'a + Clone,
Creates an iterator which [clone]s all of its elements.
fn cycle(self) -> Cycle<Self> where
Self: Clone, 1.0.0
Self: Clone,
Repeats an iterator endlessly.
fn sum<S>(self) -> S where
S: Sum<Self::Item>, 1.11.0
S: Sum<Self::Item>,
Sums the elements of an iterator.
fn product<P>(self) -> P where
P: Product<Self::Item>, 1.11.0
P: Product<Self::Item>,
Iterates over the entire iterator, multiplying all the elements
fn cmp<I>(self, other: I) -> Ordering where
I: IntoIterator<Item = Self::Item>,
Self::Item: Ord, 1.5.0
I: IntoIterator<Item = Self::Item>,
Self::Item: Ord,
Lexicographically compares the elements of this Iterator with those
fn partial_cmp<I>(self, other: I) -> Option<Ordering> where
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>, 1.5.0
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
Lexicographically compares the elements of this Iterator with those
fn eq<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialEq<<I as IntoIterator>::Item>, 1.5.0
I: IntoIterator,
Self::Item: PartialEq<<I as IntoIterator>::Item>,
Determines if the elements of this Iterator are equal to those of
fn ne<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialEq<<I as IntoIterator>::Item>, 1.5.0
I: IntoIterator,
Self::Item: PartialEq<<I as IntoIterator>::Item>,
Determines if the elements of this Iterator are unequal to those of
fn lt<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>, 1.5.0
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
Determines if the elements of this Iterator are lexicographically
fn le<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>, 1.5.0
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
Determines if the elements of this Iterator are lexicographically
fn gt<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>, 1.5.0
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
Determines if the elements of this Iterator are lexicographically
fn ge<I>(self, other: I) -> bool where
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>, 1.5.0
I: IntoIterator,
Self::Item: PartialOrd<<I as IntoIterator>::Item>,
Determines if the elements of this Iterator are lexicographically
impl PyAPI for RtObject[src]
impl GetAttr for RtObject[src]
fn op_getattr(&self, rt: &Runtime, name: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_getattr(&self, name: &Type) -> Result<RtObject, Error>
Native API Method $pyname
impl SetAttr for RtObject[src]
fn op_setattr(
&self,
rt: &Runtime,
name: &RtObject,
value: &RtObject
) -> Result<RtObject, Error>
&self,
rt: &Runtime,
name: &RtObject,
value: &RtObject
) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_setattr(&self, name: &Type, value: &Type) -> Result<None, Error>
Native API Method $pyname
impl Id for RtObject[src]
impl Is for RtObject[src]
fn op_is(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
fn native_is(&self, rhs: &Type) -> Result<Boolean, Error>
impl IsNot for RtObject[src]
fn op_is_not(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
fn native_is_not(&self, rhs: &Type) -> Result<Boolean, Error>
impl Hashed for RtObject[src]
fn op_hash(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_hash(&self) -> Result<HashId, Error>
Native API Method $pyname
impl StringCast for RtObject[src]
fn op_str(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_str(&self) -> Result<String, Error>
Native API Method $pyname
impl BytesCast for RtObject[src]
fn op_bytes(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_bytes(&self) -> Result<Bytes, Error>
Native API Method $pyname
impl StringFormat for RtObject[src]
fn op_format(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_format(&self) -> Result<String, Error>
Native API Method $pyname
impl StringRepresentation for RtObject[src]
fn op_repr(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_repr(&self) -> Result<String, Error>
Native API Method $pyname
impl Equal for RtObject[src]
fn op_eq(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Default implementation of equals fallsbacks to op_is.
fn native_eq(&self, rhs: &Type) -> Result<Boolean, Error>
Default implementation of equals fallsbacks to op_is.
impl NotEqual for RtObject[src]
fn op_ne(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Default implementation of equals fallsbacks to !op_is
fn native_ne(&self, rhs: &Type) -> Result<Boolean, Error>
Default implementation of equals fallsbacks to op_is.
impl LessThan for RtObject[src]
fn op_lt(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_lt(&self, rhs: &Type) -> Result<Boolean, Error>
Native API Method $pyname
impl LessOrEqual for RtObject[src]
fn op_le(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_le(&self, rhs: &Type) -> Result<Boolean, Error>
Native API Method $pyname
impl GreaterOrEqual for RtObject[src]
fn op_ge(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_ge(&self, rhs: &Type) -> Result<Boolean, Error>
Native API Method $pyname
impl GreaterThan for RtObject[src]
fn op_gt(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_gt(&self, rhs: &Type) -> Result<Boolean, Error>
Native API Method $pyname
impl BooleanCast for RtObject[src]
fn op_bool(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_bool(&self) -> Result<Boolean, Error>
Native API Method $pyname
impl IntegerCast for RtObject[src]
fn op_int(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_int(&self) -> Result<Integer, Error>
Native API Method $pyname
impl FloatCast for RtObject[src]
fn op_float(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_float(&self) -> Result<Float, Error>
Native API Method $pyname
impl ComplexCast for RtObject[src]
fn op_complex(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_complex(&self) -> Result<Complex, Error>
Native API Method $pyname
impl Index for RtObject[src]
fn op_index(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_index(&self) -> Result<Integer, Error>
Native API Method $pyname
impl NegateValue for RtObject[src]
fn op_neg(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_neg(&self) -> Result<Number, Error>
Native API Method $pyname
impl AbsValue for RtObject[src]
fn op_abs(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_abs(&self) -> Result<Number, Error>
Native API Method $pyname
impl PositiveValue for RtObject[src]
fn op_pos(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_pos(&self) -> Result<Number, Error>
Native API Method $pyname
impl InvertValue for RtObject[src]
fn op_invert(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_invert(&self) -> Result<Number, Error>
Native API Method $pyname
impl Add for RtObject[src]
fn op_add(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_add(&self, rhs: &Type) -> Result<Native, Error>
Native API Method $pyname
impl BitwiseAnd for RtObject[src]
fn op_and(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_and(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl DivMod for RtObject[src]
fn op_divmod(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_divmod(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl FloorDivision for RtObject[src]
fn op_floordiv(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_floordiv(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl LeftShift for RtObject[src]
fn op_lshift(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_lshift(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl Modulus for RtObject[src]
fn op_mod(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_mod(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl Multiply for RtObject[src]
fn op_mul(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_mul(&self, rhs: &Type) -> Result<Native, Error>
Native API Method $pyname
impl MatrixMultiply for RtObject[src]
fn op_matmul(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_matmul(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl BitwiseOr for RtObject[src]
fn op_or(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_or(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl Pow for RtObject[src]
fn op_pow(
&self,
rt: &Runtime,
power: &RtObject,
modulus: &RtObject
) -> Result<RtObject, Error>
&self,
rt: &Runtime,
power: &RtObject,
modulus: &RtObject
) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_pow(&self, power: &Type, modulus: &Type) -> Result<Type, Error>
Native API Method $pyname
impl RightShift for RtObject[src]
fn op_rshift(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rshift(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl Subtract for RtObject[src]
fn op_sub(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_sub(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl TrueDivision for RtObject[src]
fn op_truediv(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_truediv(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl XOr for RtObject[src]
fn op_xor(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_xor(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceAdd for RtObject[src]
fn op_iadd(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_iadd(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceBitwiseAnd for RtObject[src]
fn op_iand(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_iand(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceDivMod for RtObject[src]
fn op_idivmod(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_idivmod(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceFloorDivision for RtObject[src]
fn op_ifloordiv(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_ifloordiv(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceLeftShift for RtObject[src]
fn op_ilshift(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_ilshift(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceModulus for RtObject[src]
fn op_imod(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_imod(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceMultiply for RtObject[src]
fn op_imul(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_imul(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceMatrixMultiply for RtObject[src]
fn op_imatmul(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_imatmul(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceBitwiseOr for RtObject[src]
fn op_ior(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_ior(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlacePow for RtObject[src]
fn op_ipow(
&self,
rt: &Runtime,
power: &RtObject,
modulus: &RtObject
) -> Result<RtObject, Error>
&self,
rt: &Runtime,
power: &RtObject,
modulus: &RtObject
) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_ipow(&self, power: &Type, modulus: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceRightShift for RtObject[src]
fn op_irshift(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_irshift(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceSubtract for RtObject[src]
fn op_isub(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_isub(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceTrueDivision for RtObject[src]
fn op_itruediv(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_itruediv(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl InPlaceXOr for RtObject[src]
fn op_ixor(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_ixor(&self, rhs: &Type) -> Result<Type, Error>
Native API Method $pyname
impl Contains for RtObject[src]
fn op_contains(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_contains(&self, rhs: &Type) -> Result<Boolean, Error>
Native API Method $pyname
impl Iter for RtObject[src]
fn op_iter(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_iter(&self) -> Result<Iterator, Error>
Native API Method $pyname
impl Call for RtObject[src]
fn op_call(
&self,
rt: &Runtime,
pos_args: &RtObject,
starargs: &RtObject,
kwargs: &RtObject
) -> Result<RtObject, Error>
&self,
rt: &Runtime,
pos_args: &RtObject,
starargs: &RtObject,
kwargs: &RtObject
) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_call(
&self,
pos_args: &Type,
starargs: &Type,
kwargs: &Type
) -> Result<Type, Error>
&self,
pos_args: &Type,
starargs: &Type,
kwargs: &Type
) -> Result<Type, Error>
Native API Method $pyname
impl Length for RtObject[src]
fn op_len(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_len(&self) -> Result<Integer, Error>
Native API Method $pyname
impl Next for RtObject[src]
fn op_next(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_next(&self) -> Result<RtObject, Error>
Native API Method $pyname
impl GetItem for RtObject[src]
fn op_getitem(&self, rt: &Runtime, name: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_getitem(&self, name: &Type) -> Result<RtObject, Error>
Native API Method $pyname
impl SetItem for RtObject[src]
fn op_setitem(
&self,
rt: &Runtime,
name: &RtObject,
item: &RtObject
) -> Result<RtObject, Error>
&self,
rt: &Runtime,
name: &RtObject,
item: &RtObject
) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_setitem(&self, name: &Type, item: &Type) -> Result<None, Error>
Native API Method $pyname
impl DeleteItem for RtObject[src]
fn op_delitem(&self, rt: &Runtime, name: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_delitem(&self, name: &Type) -> Result<Type, Error>
Native API Method $pyname
impl Count for RtObject[src]
fn meth_count(&self, rt: &Runtime, name: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_count(&self, name: &Type) -> Result<Integer, Error>
Native API Method $pyname
impl Append for RtObject[src]
fn meth_append(&self, rt: &Runtime, name: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_append(&self, name: &Type) -> Result<None, Error>
Native API Method $pyname
impl Extend for RtObject[src]
fn meth_extend(&self, rt: &Runtime, name: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_extend(&self, name: &Type) -> Result<None, Error>
Native API Method $pyname
impl Pop for RtObject[src]
fn meth_pop(&self, rt: &Runtime, name: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_pop(&self, name: &Type) -> Result<Type, Error>
Native API Method $pyname
impl Remove for RtObject[src]
fn meth_remove(&self, rt: &Runtime, name: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_remove(&self, name: &Type) -> Result<Type, Error>
Native API Method $pyname
impl IsDisjoint for RtObject[src]
fn meth_isdisjoint(
&self,
rt: &Runtime,
name: &RtObject
) -> Result<RtObject, Error>
&self,
rt: &Runtime,
name: &RtObject
) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_isdisjoint(&self, name: &Type) -> Result<Boolean, Error>
Native API Method $pyname
impl AddItem for RtObject[src]
fn meth_add(&self, rt: &Runtime, name: &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_add(&self, name: &Type) -> Result<Type, Error>
Native API Method $pyname
impl Keys for RtObject[src]
fn meth_keys(&self, rt: &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_keys(&self) -> Result<Tuple, Error>
Native API Method $pyname
impl Await for RtObject[src]
fn op_await(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_await(&self) -> Result<Type, Error>
Native API Method $pyname
impl Clear for RtObject[src]
fn meth_clear(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_clear(&self) -> Result<Type, Error>
Native API Method $pyname
impl Close for RtObject[src]
fn meth_close(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_close(&self) -> Result<Type, Error>
Native API Method $pyname
impl DelAttr for RtObject[src]
fn op_delattr(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_delattr(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl Delete for RtObject[src]
fn op_del(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_del(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl DescriptorGet for RtObject[src]
fn op_get(&self, &Runtime, &RtObject, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_get(&self, &Type, &Type) -> Result<Type, Error>
Native API Method $pyname
impl DescriptorSet for RtObject[src]
fn op_set(&self, &Runtime, &RtObject, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_set(&self, &Type, &Type) -> Result<Type, Error>
Native API Method $pyname
impl DescriptorSetName for RtObject[src]
fn op_set_name(&self, &Runtime, &RtObject, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_set_name(&self, &Type, &Type) -> Result<Type, Error>
Native API Method $pyname
impl Discard for RtObject[src]
fn meth_discard(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_discard(&self) -> Result<Type, Error>
Native API Method $pyname
impl Enter for RtObject[src]
fn op_enter(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_enter(&self) -> Result<Type, Error>
Native API Method $pyname
impl Exit for RtObject[src]
fn op_exit(
&self,
&Runtime,
&RtObject,
&RtObject,
&RtObject
) -> Result<RtObject, Error>
&self,
&Runtime,
&RtObject,
&RtObject,
&RtObject
) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_exit(&self, &Type, &Type, &Type) -> Result<Type, Error>
Native API Method $pyname
impl Get for RtObject[src]
fn meth_get(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_get(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl GetAttribute for RtObject[src]
fn op_getattribute(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_getattribute(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl Init for RtObject[src]
fn op_init(
&mut self,
rt: &Runtime,
named_args: &RtObject,
args: &RtObject,
kwargs: &RtObject
) -> Result<RtObject, Error>
&mut self,
rt: &Runtime,
named_args: &RtObject,
args: &RtObject,
kwargs: &RtObject
) -> Result<RtObject, Error>
fn native_init(
&mut self,
named_args: &Type,
args: &Type,
kwargs: &Type
) -> Result<None, Error>
&mut self,
named_args: &Type,
args: &Type,
kwargs: &Type
) -> Result<None, Error>
impl Items for RtObject[src]
fn meth_items(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_items(&self) -> Result<Type, Error>
Native API Method $pyname
impl LengthHint for RtObject[src]
fn op_length_hint(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_length_hint(&self) -> Result<Integer, Error>
Native API Method $pyname
impl New for RtObject[src]
fn op_new(
&self,
&Runtime,
&RtObject,
&RtObject,
&RtObject
) -> Result<RtObject, Error>
&self,
&Runtime,
&RtObject,
&RtObject,
&RtObject
) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_new(&self, &Type, &Type, &Type) -> Result<Type, Error>
Native API Method $pyname
impl PopItem for RtObject[src]
fn meth_popitem(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_popitem(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedAdd for RtObject[src]
fn op_radd(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_radd(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedBitwiseAnd for RtObject[src]
fn op_rand(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rand(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedBitwiseOr for RtObject[src]
fn op_ror(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_ror(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedDivMod for RtObject[src]
fn op_rdivmod(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rdivmod(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedFloorDivision for RtObject[src]
fn op_rfloordiv(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rfloordiv(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedLeftShift for RtObject[src]
fn op_rlshift(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rlshift(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedMatrixMultiply for RtObject[src]
fn op_rmatmul(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rmatmul(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedModulus for RtObject[src]
fn op_rmod(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rmod(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedMultiply for RtObject[src]
fn op_rmul(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rmul(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedPow for RtObject[src]
fn op_rpow(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rpow(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedRightShift for RtObject[src]
fn op_rrshift(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rrshift(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedSubtract for RtObject[src]
fn op_rsub(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rsub(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedTrueDivision for RtObject[src]
fn op_rtruediv(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rtruediv(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl ReflectedXOr for RtObject[src]
fn op_rxor(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_rxor(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl Reversed for RtObject[src]
fn op_reversed(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_reversed(&self) -> Result<Type, Error>
Native API Method $pyname
impl Rounding for RtObject[src]
fn op_round(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_round(&self) -> Result<Number, Error>
Native API Method $pyname
impl Send for RtObject[src]
fn meth_send(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_send(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl SetDefault for RtObject[src]
fn meth_setdefault(
&self,
&Runtime,
&RtObject,
&RtObject
) -> Result<RtObject, Error>
&self,
&Runtime,
&RtObject,
&RtObject
) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_setdefault(&self, &Type, &Type) -> Result<Type, Error>
Native API Method $pyname
impl Throw for RtObject[src]
fn meth_throw(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_throw(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl Update for RtObject[src]
fn meth_update(&self, &Runtime, &RtObject) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_update(&self, &Type) -> Result<Type, Error>
Native API Method $pyname
impl Values for RtObject[src]
fn meth_values(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_meth_values(&self) -> Result<Type, Error>
Native API Method $pyname