pub struct GetScriptInfoCommand {
pub property: String,
}Expand description
Command to get a script info property from the ASS document
Retrieves the value of a specific property from the [Script Info] section.
Returns an error if the property doesn’t exist. value
Fields§
§property: StringProperty name to retrieve
Implementations§
Trait Implementations§
Source§impl Clone for GetScriptInfoCommand
impl Clone for GetScriptInfoCommand
Source§fn clone(&self) -> GetScriptInfoCommand
fn clone(&self) -> GetScriptInfoCommand
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 GetScriptInfoCommand
impl Debug for GetScriptInfoCommand
impl Eq for GetScriptInfoCommand
Source§impl PartialEq for GetScriptInfoCommand
impl PartialEq for GetScriptInfoCommand
Source§fn eq(&self, other: &GetScriptInfoCommand) -> bool
fn eq(&self, other: &GetScriptInfoCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetScriptInfoCommand
Auto Trait Implementations§
impl Freeze for GetScriptInfoCommand
impl RefUnwindSafe for GetScriptInfoCommand
impl Send for GetScriptInfoCommand
impl Sync for GetScriptInfoCommand
impl Unpin for GetScriptInfoCommand
impl UnsafeUnpin for GetScriptInfoCommand
impl UnwindSafe for GetScriptInfoCommand
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