pub struct ClipId(/* private fields */);Available on crate feature
stream only.Expand description
A clip ID
Implementations§
Source§impl ClipId
impl ClipId
Sourcepub fn from_static(raw: &'static str) -> Self
pub fn from_static(raw: &'static str) -> Self
Constructs a newClipIdfrom a static reference
Sourcepub fn into_boxed_ref(self) -> Box<ClipIdRef>
pub fn into_boxed_ref(self) -> Box<ClipIdRef>
Converts this ClipId into a Box<ClipIdRef>
This will drop any excess capacity.
Trait Implementations§
Source§impl<'a> Arbitrary<'a> for ClipId
Available on crate feature arbitrary only.
impl<'a> Arbitrary<'a> for ClipId
Available on crate feature
arbitrary only.Source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§impl<'de> Deserialize<'de> for ClipId
Available on crate feature serde only.
impl<'de> Deserialize<'de> for ClipId
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for ClipId
impl Ord for ClipId
Source§impl PartialOrd for ClipId
impl PartialOrd for ClipId
impl Eq for ClipId
impl StructuralPartialEq for ClipId
Auto Trait Implementations§
impl Freeze for ClipId
impl RefUnwindSafe for ClipId
impl Send for ClipId
impl Sync for ClipId
impl Unpin for ClipId
impl UnwindSafe for ClipId
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