fn is_tuple(t: &IDLValue) -> bool {
    match t {
        IDLValue::Record(ref fs) => {
            for (i, field) in fs.iter().enumerate() {
                if field.id.get_id() != (i as u32) {
                    return false;
                }
            }
            true
        }
        _ => false,
    }
}
// The definition of tuple is language specific.
The definition of tuple is language specific.
The definition of tuple is language specific .
fn is_tuple(t: &IDLValue) -> bool {
    match t {
        IDLValue::Record(ref fs) => {
            for (i, field) in fs.iter().enumerate() {
                if field.id.get_id() != (i as u32) {
                    return false;
                }
            }
            true
        }
        _ => false,
    }
}
fn is_tuple ( t : & IDLValue ) -> bool { match t { IDLValue :: Record ( ref fs ) => { for ( i , field ) in fs . iter ( ) . enumerate ( ) { if field . id . get_id ( ) != ( i as u32 ) { return false ; } } true } _ => false , } }
The definition of tuple is language specific.
The definition of tuple is language specific .
t
&IDLValue
t
&IDLValue