Struct sass_alt::values::SassValue [] [src]

pub struct SassValue(_, _);

A wrapper type for *mut Sass_Value that also reflects ownership.

Methods

impl SassValue
[src]

[src]

Is this a null SassValue?

[src]

Returns an error if this is not a boolean.

[src]

Returns None if null. Returns an error if this is not a boolean or null.

[src]

Returns an error if this is not a color.

[src]

Returns None if null. Returns an error if this is not a color or null.

[src]

Returns an error if this is not an error.

[src]

Returns None if null. Returns an error if this is not a error or null.

[src]

Returns an error if this is not a list.

[src]

Returns None if null. Returns an error if this is not a list or null.

[src]

Returns an error if this is not a map.

[src]

Returns None if null. Returns an error if this is not a list or null.

[src]

Returns an error if this is not a number.

[src]

Returns None if null. Returns an error if this is not a number or null.

[src]

Returns an error if this is not a string.

[src]

Returns None if null. Returns an error if this is not a string or null.

[src]

Returns an error if this is not a warning.

[src]

Returns None if null. Returns an error if this is not a warning or null.

[src]

Type of this SassValue; useful for matching on

[src]

Create a new string SassValue using this object which will be free-ed when it is dropped unless transfer_ownership_to_c() is called.

[src]

Creates a new null SassValue which will be free-ed when it is dropped unless transfer_ownership_to_c() is called.

[src]

Creates a new boolean SassValue which will be free-ed when it is dropped unless transfer_ownership_to_c() is called.

[src]

Creates a new number SassValue which will be free-ed when it is dropped unless transfer_ownership_to_c() is called.

[src]

Creates a new unquoted string SassValue which will be free-ed when it is dropped unless transfer_ownership_to_c() is called.

[src]

Creates a new quoted string SassValue which will be free-ed when it is dropped unless transfer_ownership_to_c() is called.

[src]

Creates a new warning SassValue which will be free-ed when it is dropped unless transfer_ownership_to_c() is called.

[src]

Creates a new error SassValue which will be free-ed when it is dropped unless transfer_ownership_to_c() is called.

[src]

Creates a new color SassValue which will be free-ed when it is dropped unless transfer_ownership_to_c() is called.

[src]

Creates a new list SassValue which will be free-ed when it is dropped unless transfer_ownership_to_c() is called.

[src]

Creates a new map SassValue which will be free-ed when it is dropped unless transfer_ownership_to_c() is called.

Trait Implementations

impl Debug for SassValue
[src]

[src]

Formats the value using the given formatter.

impl Drop for SassValue
[src]

[src]

Executes the destructor for this type. Read more

impl Clone for SassValue
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more