pub struct FuncFrameAttrsMap(/* private fields */);Expand description
Provides a way to customize the attributes on the SVG elements for a frame.
Implementations§
Source§impl FuncFrameAttrsMap
impl FuncFrameAttrsMap
Sourcepub fn from_file(path: &Path) -> Result<FuncFrameAttrsMap, Error>
pub fn from_file(path: &Path) -> Result<FuncFrameAttrsMap, Error>
Parse frame attributes from a file.
Each line should consist of a function name, a tab (\t), and then a sequence of
tab-separated name=value pairs.
Sourcepub fn from_reader<R>(reader: R) -> Result<FuncFrameAttrsMap, Error>where
R: BufRead,
pub fn from_reader<R>(reader: R) -> Result<FuncFrameAttrsMap, Error>where
R: BufRead,
Parse frame attributes from a BufRead.
Each line should consist of a function name, a tab (\t), and then a sequence of
tab-separated name=value pairs.
Trait Implementations§
Source§impl Debug for FuncFrameAttrsMap
impl Debug for FuncFrameAttrsMap
Source§impl Default for FuncFrameAttrsMap
impl Default for FuncFrameAttrsMap
Source§fn default() -> FuncFrameAttrsMap
fn default() -> FuncFrameAttrsMap
Returns the “default value” for a type. Read more
Source§impl PartialEq for FuncFrameAttrsMap
impl PartialEq for FuncFrameAttrsMap
impl Eq for FuncFrameAttrsMap
impl StructuralPartialEq for FuncFrameAttrsMap
Auto Trait Implementations§
impl Freeze for FuncFrameAttrsMap
impl RefUnwindSafe for FuncFrameAttrsMap
impl Send for FuncFrameAttrsMap
impl Sync for FuncFrameAttrsMap
impl Unpin for FuncFrameAttrsMap
impl UnwindSafe for FuncFrameAttrsMap
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more