Docs.rs
rustpython-vm-0.5.0
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
PyStrRef
rustpython_
vm
0.5.0
PyStr
Ref
Aliased Type
Trait Implementations
AsRef<Wtf8>
AsRef<str>
StrBuffer
In rustpython_
vm::
builtins
rustpython_vm
::
builtins
Type Alias
PyStr
Ref
Copy item path
Source
pub type PyStrRef =
PyRef
<
PyStr
>;
Aliased Type
§
pub struct PyStrRef {
/* private fields */
}
Trait Implementations
§
Source
§
impl
AsRef
<
Wtf8
> for
PyStrRef
Source
§
fn
as_ref
(&self) -> &
Wtf8
Converts this type into a shared reference of the (usually inferred) input type.
Source
§
impl
AsRef
<
str
> for
PyStrRef
Source
§
fn
as_ref
(&self) -> &
str
Converts this type into a shared reference of the (usually inferred) input type.
Source
§
impl
StrBuffer
for
PyStrRef
Source
§
fn
is_compatible_with
(&self, kind:
StrKind
) ->
bool