pub struct ImageSequencePattern { /* private fields */ }Expand description
The filename components surrounding an image-sequence frame number.
Implementations§
Source§impl ImageSequencePattern
impl ImageSequencePattern
Sourcepub fn new(
prefix: impl Into<String>,
suffix: impl Into<String>,
padding: u8,
) -> Result<Self>
pub fn new( prefix: impl Into<String>, suffix: impl Into<String>, padding: u8, ) -> Result<Self>
Creates a bounded filename pattern without directory separators.
§Errors
Returns ErrorKind::InvalidArgument when the pattern is empty, too
long, contains a path separator or NUL, or requests excessive padding.
Trait Implementations§
Source§impl Clone for ImageSequencePattern
impl Clone for ImageSequencePattern
Source§fn clone(&self) -> ImageSequencePattern
fn clone(&self) -> ImageSequencePattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageSequencePattern
impl Debug for ImageSequencePattern
impl Eq for ImageSequencePattern
Source§impl Hash for ImageSequencePattern
impl Hash for ImageSequencePattern
Source§impl PartialEq for ImageSequencePattern
impl PartialEq for ImageSequencePattern
Source§fn eq(&self, other: &ImageSequencePattern) -> bool
fn eq(&self, other: &ImageSequencePattern) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImageSequencePattern
Auto Trait Implementations§
impl Freeze for ImageSequencePattern
impl RefUnwindSafe for ImageSequencePattern
impl Send for ImageSequencePattern
impl Sync for ImageSequencePattern
impl Unpin for ImageSequencePattern
impl UnsafeUnpin for ImageSequencePattern
impl UnwindSafe for ImageSequencePattern
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